• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to 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