Advertisement
luizituw

Untitled

Mar 3rd, 2021
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.90 KB | None | 0 0
  1. auto 100 dontlist | if [$key.101 && $key.65 && $target.posx < $posx && $shunkanidotime <= 0] {isattacking say "shunkanido"} | if [$key.101 && $key.65 && $target.posx < $posx && $shunkanidotime >= 1 && $target.distance <= 4] {isattacking say "teleport"}
  2. auto 100 dontlist | if [$key.101 && $key.68 && $target.posx > $posx && $shunkanidotime <= 0] {isattacking say "shunkanido"} | if [$key.101 && $key.68 && $target.posx > $posx && $shunkanidotime >= 1 && $target.distance <= 4] {isattacking say "teleport"}
  3. auto 100 dontlist | if [$key.101 && $key.87 && $target.posy < $posy && $shunkanidotime <= 0] {isattacking say "shunkanido"} | if [$key.101 && $key.87 && $target.posy < $posy && $shunkanidotime >= 1 && $target.distance <= 4] {isattacking say "teleport"}
  4. auto 100 dontlist | if [$key.101 && $key.83 && $target.posy > $posy && $shunkanidotime <= 0] {isattacking say "shunkanido"} | if [$key.101 && $key.83 && $target.posy > $posy && $shunkanidotime >= 1 && $target.distance <= 4] {isattacking say "teleport"}
  5.  
  6. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy-5)" <= 0 && $mcount."$m.posy == ($self.posy-5)" <= 0] {set $north5 0} | if [$pcount."$p.posy == ($self.posy-5)" > 0] {set $north5 1} | if [$mcount."$m.posy == ($self.posy-5)" > 0 && $shunkanidotime <= 0] {set $north5 1}
  7. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy-4)" <= 0 && $mcount."$m.posy == ($self.posy-4)" <= 0] {set $north4 0} | if [$pcount."$p.posy == ($self.posy-4)" > 0] {set $north4 1} | if [$mcount."$m.posy == ($self.posy-4)" > 0] {set $north4 1}
  8. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy-3)" <= 0 && $mcount."$m.posy == ($self.posy-3)" <= 0] {set $north3 0} | if [$pcount."$p.posy == ($self.posy-3)" > 0] {set $north3 1} | if [$mcount."$m.posy == ($self.posy-3)" > 0] {set $north3 1}
  9. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy-2)" <= 0 && $mcount."$m.posy == ($self.posy-2)" <= 0] {set $north2 0} | if [$pcount."$p.posy == ($self.posy-2)" > 0] {set $north2 1} | if [$mcount."$m.posy == ($self.posy-2)" > 0] {set $north2 1}
  10. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy+5)" <= 0 && $mcount."$m.posy == ($self.posy+5)" <= 0] {set $south5 0} | if [$pcount."$p.posy == ($self.posy+5)" > 0] {set $south5 1} | if [$mcount."$m.posy == ($self.posy+5)" > 0 && $shunkanidotime <= 0] {set $south5 1}
  11. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy+4)" <= 0 && $mcount."$m.posy == ($self.posy+4)" <= 0] {set $south4 0} | if [$pcount."$p.posy == ($self.posy+4)" > 0] {set $south4 1} | if [$mcount."$m.posy == ($self.posy+4)" > 0] {set $south4 1}
  12. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy+3)" <= 0 && $mcount."$m.posy == ($self.posy+3)" <= 0] {set $south3 0} | if [$pcount."$p.posy == ($self.posy+3)" > 0] {set $south3 1} | if [$mcount."$m.posy == ($self.posy+3)" > 0] {set $south3 1}
  13. auto 100 dontlist | if [$pcount."$p.posy == ($self.posy+2)" <= 0 && $mcount."$m.posy == ($self.posy+2)" <= 0] {set $south2 0} | if [$pcount."$p.posy == ($self.posy+2)" > 0] {set $south2 1} | if [$mcount."$m.posy == ($self.posy+2)" > 0] {set $south2 1}
  14. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx+7)" <= 0 && $mcount."$m.posx == ($self.posx+7)" <= 0] {set $east7 0} | if [$pcount."$p.posx == ($self.posx+7)" > 0] {set $east7 1} | if [$mcount."$m.posx == ($self.posx+7)" > 0 && $shunkanidotime <= 0] {set $east7 1}
  15. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx+6)" <= 0 && $mcount."$m.posx == ($self.posx+6)" <= 0] {set $east6 0} | if [$pcount."$p.posx == ($self.posx+6)" > 0] {set $east6 1} | if [$mcount."$m.posx == ($self.posx+6)" > 0 && $shunkanidotime <= 0] {set $east6 1}
  16. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx+5)" <= 0 && $mcount."$m.posx == ($self.posx+5)" <= 0] {set $east5 0} | if [$pcount."$p.posx == ($self.posx+5)" > 0] {set $east5 1} | if [$mcount."$m.posx == ($self.posx+5)" > 0 && $shunkanidotime <= 0] {set $east5 1}
  17. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx+4)" <= 0 && $mcount."$m.posx == ($self.posx+4)" <= 0] {set $east4 0} | if [$pcount."$p.posx == ($self.posx+4)" > 0] {set $east4 1} | if [$mcount."$m.posx == ($self.posx+4)" > 0] {set $east4 1}
  18. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx+3)" <= 0 && $mcount."$m.posx == ($self.posx+3)" <= 0] {set $east3 0} | if [$pcount."$p.posx == ($self.posx+3)" > 0] {set $east3 1} | if [$mcount."$m.posx == ($self.posx+3)" > 0] {set $east3 1}
  19. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx+2)" <= 0 && $mcount."$m.posx == ($self.posx+2)" <= 0] {set $east2 0} | if [$pcount."$p.posx == ($self.posx+2)" > 0] {set $east2 1} | if [$mcount."$m.posx == ($self.posx+2)" > 0] {set $east2 1}
  20. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx-7)" <= 0 && $mcount."$m.posx == ($self.posx-7)" <= 0] {set $west7 0} | if [$pcount."$p.posx == ($self.posx-7)" > 0] {set $west7 1} | if [$mcount."$m.posx == ($self.posx-7)" > 0 && $shunkanidotime <= 0] {set $west7 1}
  21. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx-6)" <= 0 && $mcount."$m.posx == ($self.posx-6)" <= 0] {set $west6 0} | if [$pcount."$p.posx == ($self.posx-6)" > 0] {set $west6 1} | if [$mcount."$m.posx == ($self.posx-6)" > 0 && $shunkanidotime <= 0] {set $west6 1}
  22. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx-5)" <= 0 && $mcount."$m.posx == ($self.posx-5)" <= 0] {set $west5 0} | if [$pcount."$p.posx == ($self.posx-5)" > 0] {set $west5 1} | if [$mcount."$m.posx == ($self.posx-5)" > 0 && $shunkanidotime <= 0] {set $west5 1}
  23. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx-4)" <= 0 && $mcount."$m.posx == ($self.posx-4)" <= 0] {set $west4 0} | if [$pcount."$p.posx == ($self.posx-4)" > 0] {set $west4 1} | if [$mcount."$m.posx == ($self.posx-4)" > 0] {set $west4 1}
  24. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx-3)" <= 0 && $mcount."$m.posx == ($self.posx-3)" <= 0] {set $west3 0} | if [$pcount."$p.posx == ($self.posx-3)" > 0] {set $west3 1} | if [$mcount."$m.posx == ($self.posx-3)" > 0] {set $west3 1}
  25. auto 100 dontlist | if [$pcount."$p.posx == ($self.posx-2)" <= 0 && $mcount."$m.posx == ($self.posx-2)" <= 0] {set $west2 0} | if [$pcount."$p.posx == ($self.posx-2)" > 0] {set $west2 1} | if [$mcount."$m.posx == ($self.posx-2)" > 0] {set $west2 1}
  26. auto 100 dontlist | if [$shunkanidotime >= 1] {set $west7 0 | set $west6 0 | set $west5 0 | set $east7 0 | set $east6 0 | set $east5 0 | set $north5 0 | set $south5 0}
  27. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.65 && $key.101 && $x.posx == ($self.posx-7)] {attack $x.id}
  28. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.65 && $key.101 && $x.posx == ($self.posx-6) && $west7 == 0] {attack $x.id}
  29. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.65 && $key.101 && $x.posx == ($self.posx-5) && $west7 == 0 && $west6 == 0] {attack $x.id}
  30. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.65 && $key.101 && $x.posx == ($self.posx-4) && $west7 == 0 && $west6 == 0 && $west5 == 0] {attack $x.id}
  31. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.65 && $key.101 && $x.posx == ($self.posx-3) && $west7 == 0 && $west6 == 0 && $west5 == 0 && $west4 == 0] {attack $x.id}
  32. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.65 && $key.101 && $x.posx == ($self.posx-2) && $west7 == 0 && $west6 == 0 && $west5 == 0 && $west4 == 0 && $west3 == 0] {attack $x.id}
  33. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.65 && $key.101 && $x.posx == ($self.posx-1) && $west7 == 0 && $west6 == 0 && $west5 == 0 && $west4 == 0 && $west3 == 0 && $west2 == 0] {attack $x.id}
  34. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.68 && $key.101 && $x.posx == ($self.posx+7)] {attack $x.id}
  35. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.68 && $key.101 && $x.posx == ($self.posx+6) && $east7 == 0] {attack $x.id}
  36. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.68 && $key.101 && $x.posx == ($self.posx+5) && $east7 == 0 && $east6 == 0] {attack $x.id}
  37. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.68 && $key.101 && $x.posx == ($self.posx+4) && $east7 == 0 && $east6 == 0 && $east5 == 0] {attack $x.id}
  38. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.68 && $key.101 && $x.posx == ($self.posx+3) && $east7 == 0 && $east6 == 0 && $east5 == 0 && $east4 == 0] {attack $x.id}
  39. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.68 && $key.101 && $x.posx == ($self.posx+2) && $east7 == 0 && $east6 == 0 && $east5 == 0 && $east4 == 0 && $east3 == 0] {attack $x.id}
  40. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.68 && $key.101 && $x.posx == ($self.posx+1) && $east7 == 0 && $east6 == 0 && $east5 == 0 && $east4 == 0 && $east3 == 0 && $east2 == 0] {attack $x.id}
  41. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.87 && $key.101 && $x.posy == ($self.posy-5)] {attack $x.id}
  42. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.87 && $key.101 && $x.posy == ($self.posy-4) && $north5 == 0] {attack $x.id}
  43. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.87 && $key.101 && $x.posy == ($self.posy-3) && $north5 == 0 && $north4 == 0] {attack $x.id}
  44. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.87 && $key.101 && $x.posy == ($self.posy-2) && $north5 == 0 && $north4 == 0 && $north3 == 0] {attack $x.id}
  45. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.87 && $key.101 && $x.posy == ($self.posy-1) && $north5 == 0 && $north4 == 0 && $north3 == 0 && $north2 == 0] {attack $x.id}
  46. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.83 && $key.101 && $x.posy == ($self.posy+5)] {attack $x.id}
  47. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.83 && $key.101 && $x.posy == ($self.posy+4) && $south5 == 0] {attack $x.id}
  48. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.83 && $key.101 && $x.posy == ($self.posy+3) && $south5 == 0 && $south4 == 0] {attack $x.id}
  49. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.83 && $key.101 && $x.posy == ($self.posy+2) && $south5 == 0 && $south4 == 0 && $south3 == 0] {attack $x.id}
  50. auto 100 {dontlist} foreach 'allcreatures' $x if [$key.83 && $key.101 && $x.posy == ($self.posy+1) && $south5 == 0 && $south4 == 0 && $south3 == 0 && $south2 == 0] {attack $x.id}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement