[Trigger] Hitting self

Status
Not open for further replies.

Nephets

N

Nephets

Im making an ability that does a whirlwind, damage is based on the Strength of the hero x the level of the ability. However i keep damaging myself when the WW goes off. How can i stop hitting myself

  • Whirlwind
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Whirlwind
    • Actions
      • Set Whirlwind_Caster = (Casting unit)
      • Set Whirlwind_Strength = (Strength of Whirlwind_Caster (Include bonuses))
      • Set Whirlwind_Level = (Level of Whirlwind for Whirlwind_Caster)
      • Unit - Cause Whirlwind_Caster to damage circular area after 0.00 seconds of radius 200.00 at (Position of Whirlwind_Caster), dealing ((Real(Whirlwind_Strength)) x (Real(Whirlwind_Level))) damage of attack type Spells and damage type Normal
 
Status
Not open for further replies.
Back
Top