"A unit is attacked" -please 'splain

neckface

terrain contest winner! :) dance contest loser. :(
Reaction score
34
How exactly does the event "a unit is attacked" work? Does the event happen as soon as a unit is targeted for attack? Does it happen once, or every "blow" the attacking unit makes?

I ask bc I want to make a trigger that has a 5% passive chance to divine shield the hero while he is being attacked.

Thanks for your help.
 

~GaLs~

† Ғσſ ŧħə ѕαĸε Φƒ ~Ğ䣚~ †
Reaction score
180
it is every time a unit being atked...but for range unit or watever...this trigger runs even before the projectile reaches the attacked unit
 

neckface

terrain contest winner! :) dance contest loser. :(
Reaction score
34
"every time a unit is being attacked"

so lets say 1 creep vs my hero.

the event happens at the start of every "attack cycle" of the creep?
 

Anachron

New Member
Reaction score
53
Everytime it tries to attack your hero, not only once, everytime it starts to attack your hero. If you stop it it'll attack again and trigger unit again instantly. ;)
 

Slapshot136

Divide et impera
Reaction score
471
use "unit takes damage" instead if you want it to be right b4 the unit takes damage, or use "unit is attacked" if u want it to be when a unit is within range and targeting the unit, like raising a sword or grabbing an arrow 2 shoot
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top