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!
Set Boolean[(Player number of (Owner of (Triggering unit)))] = True
Untitled Trigger 002
Events
Unit - A unit Is issued an order with no target
Conditions
(Issued order) Equal to (Order(Your_Spell_OFF))
Actions
Set Boolean[(Player number of (Owner of (Triggering unit)))] = False
Untitled Trigger 003
Events
Unit - A unit Is attacked
Conditions
((Attacking unit) has buff Acid Bomb) Equal to True
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Boolean[(Player number of (Owner of (Attacking unit)))] Equal to True
Then - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Acid Bomb for (Attacking unit)) Equal to 1
Then - Actions
Unit - Set life of (Triggering unit) to ((Percentage life of (Attacking unit)) + 9.00)%
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Acid Bomb for (Attacking unit)) Equal to 2
Then - Actions
Unit - Set life of (Triggering unit) to ((Percentage life of (Attacking unit)) + 14.00)%
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of Acid Bomb for (Attacking unit)) Equal to 3
Then - Actions
Unit - Set life of (Triggering unit) to ((Percentage life of (Attacking unit)) + 15.00)%
Else - Actions
Else - Actions
The buff is only to allow to game to check as little units as it can so it won't lag.
This will give you the life when your unit STARTS to attack, if you want him to get the life when he hits his target, you need a hit detection system (GUI is not adviced for this !).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.