I have created simple spell that damages units in small AoE.
I wanted to do that it would look as a "sword/slash" skill, so it should attack units in front of the casting unit, but it attacks units around him self.
Any suggestions??
I wanted to do that it would look as a "sword/slash" skill, so it should attack units in front of the casting unit, but it attacks units around him self.
Any suggestions??
-
Events Unit starts casting an ability
-
Conditions (Ability being cast) Equal to <Slash>
-
Actions
-
Set <Damage_AoE> = 125
-
Set <Caster> = (Triggering Unit)
-
Set <Cast_Loc> = (Position of <Caster>)
-
Set <DamagedUnits> = (Units with in <Damage_AoE of (<Cast_Loc>))
-
Unit Group - Pick every unit in <DamagedUnits> and do (Actions)
-
Unit - Cause <Caster> to damage (Picked unit), dealing (Random real number between 50.00 and 100.00) damage of attack type Normal and damage type Normal.
-
...Etc