• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

[Trigger] Hitting self

Status
Not open for further replies.
Level 2
Joined
Dec 29, 2008
Messages
6
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.
Top