Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set $wavespell 0
- auto 100 dontlist| isattacking { set $tx $target.posx | set $ty $target.posy }
- auto 100 dontlist | if [$self.dir == 3 && $ty == $posy && $tx >= ($posx-6) && $tx < $posx && $target.isshootable ] { set $wavespell 1 } | if [$self.dir == 3 && $ty == $posy && ($tx < ($posx-6) || $tx > $posx) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 3 && ($ty == ($posy-1) || $ty == ($posy+1)) && $tx >= ($posx-6) && $tx <= ($posx-3) ] { set $wavespell 1 } | if [$self.dir == 3 && ($ty == ($posy-1) || $ty == ($posy+1)) && ( $tx < ($posx-6) || $tx > ($posx-3)) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 3 && ($ty == ($posy-2) || $ty == ($posy+2)) && $tx == ($posx-6) ] { set $wavespell 1 } | if [$self.dir == 3 && ($ty == ($posy-2) || $ty == ($posy+2)) && $tx != ($posx-6) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 3 && ($ty > ($posy+2) || $ty < ($posy-2) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 1 && $ty == $posy && $tx <= ($posx+6) && $tx > $posx && $target.isshootable ] { set $wavespell 1 } | if [$self.dir == 1 && $ty == $posy && ($tx > ($posx+6) || $tx < $posx) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 1 && ($ty == ($posy-1) || $ty == ($posy+1)) && $tx <= ($posx+6) && $tx >= ($posx +3) ] { set $wavespell 1 } | if [$self.dir == 1 && ($ty == ($posy-1) || $ty == ($posy+1)) && ( $tx > ($posx+6) || $tx < ($posx+3)) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 1 && ($ty == ($posy-2) || $ty == ($posy+2)) && $tx == ($posx+6) ] { set $wavespell 1 } | if [$self.dir == 1 && ($ty == ($posy-2) || $ty == ($posy+2) && $tx != ($posx+6) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 1 && ($ty > ($posy+2) || $ty < ($posy-2) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 2 && $tx == $posx && $ty <= ($posy+6) && $ty > $posy ] { set $wavespell 1 } | if [$self.dir == 2 && $tx == $posx && ($ty > ($posy+6) || $ty < $posy) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 2 && ($tx == ($posx-1) || $tx == ($posx+1)) && $ty <= ($posy+6) && $ty >= ($posy +3) ] { set $wavespell 1 } | if [$self.dir == 2 && ($tx == ($posx-1) || $tx == ($posx+1)) && ( $ty > ($posy+6) || $ty < ($posy+3)) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 2 && ($tx == ($posx-2) || $tx == ($posx+2)) && $ty == ($posy+6) ] { set $wavespell 1 } | if [$self.dir == 2 && ($tx == ($posx-2) || $tx == ($posx+2)) && $ty != ($posy+6) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 2 && ($tx > ($posx+2) || $tx < ($posx-2) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 0 && $tx == $posx && $ty >= ($posy-6) && $ty < $posy] { set $wavespell 1 } | if [$self.dir == 0 && $tx == $posx && ($ty < ($posy-6) || $ty > $posy) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 0 && ($tx == ($posx-1) || $tx == ($posx+1)) && $ty >= ($posy-6) && $ty <= ($posy -3) ] { set $wavespell 1 } | if [$self.dir == 0 && ($tx == ($posx-1) || $tx == ($posx+1)) && ( $ty < ($posy-6) || $ty > ($posy-3)) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 0 && ($tx == ($posx-2) || $tx == ($posx+2)) && $ty == ($posy-6) ] { set $wavespell 1 } | if [$self.dir == 0 && ($tx == ($posx-2) || $tx == ($posx+2)) && $ty != ($posy-6) ] { set $wavespell 0 }
- auto 100 dontlist | if [$self.dir == 0 && ($tx > ($posx+2) || $tx < ($posx-2) ] { set $wavespell 0 }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement