• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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