Enemy Brain

Kode:
[WHEN] "once" [DO] "team", "equals", "team 2"
[WHEN] "enemies", "nearest object", "or", "player", "neutrals", "nearest object" [DO] "my enemy", "equals", "it"
[WHEN] "distance to", "my enemy", "less than", "20", "and", "distance to", "my enemy", "greater than or equal to", "2"
> [WHEN] [DO] "move", "toward", "my enemy"
[WHEN] "countdown timer", "pause attack", "loop"
> [WHEN] "distance to", "target", "less than or equal to", "2" [DO] "attack", "light", "my enemy", "with windup", "end combo"
> [WHEN] [DO] "pause attack", "equals", "random number", "1", "to", "3"
Category:Default brain