heres what i got:
is there a better way to do this? what ive got is essentally a dummy unit casting a dummy spell to make my "Fighter" play his attack animation and damage "last created unit" if its within 150 (for now its a region roughly 300x300) of "Fighter". "Fighter" will only be faceing left or right.
-
Attack
-

Events
-


Unit - A unit Starts the effect of an ability
-
-

Conditions
-


(Ability being cast) Equal to Attack!
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Range Box <gen> contains (Last created unit)) Equal to True
-
-



Then - Actions
-




Unit - Cause (Triggering unit) to damage (Last created unit), dealing 500.00 damage of attack type Spells and damage type Normal
-




Animation - Play Fighter's attack animation
-




Wait 1.00 seconds
-




Animation - Reset Fighter's animation
-
-



Else - Actions
-




Animation - Play Fighter's attack animation
-




Wait 1.00 seconds
-




Animation - Reset Fighter's animation
-
-
-
-
is there a better way to do this? what ive got is essentally a dummy unit casting a dummy spell to make my "Fighter" play his attack animation and damage "last created unit" if its within 150 (for now its a region roughly 300x300) of "Fighter". "Fighter" will only be faceing left or right.


