- Joined
- Jul 28, 2013
- Messages
- 768
Hello guys, i'm creating an Aura that gives to friendly units a 30% life steal chance with each attack.
Is this trigger done right?
----------------------------------------------------
Untitled Trigger
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 0 and 100) Less than or equal to 30
((Attacking unit) has buff Unholy Aura) Equal to True
Then - Actions
Unit - Add Item Life Steal to (Attacking unit)
Unit - Set level of Item Life Steal for (Attacking unit) to (Level of Unholy Aura for Arthas (Evil) 0001 <gen>)
Wait 1.00 seconds
Unit - Remove Item Life Steal from (Attacking unit)
Else - Actions
----------------------------------------------------
Sorry for posting the trigger like that, i'm still not used to using this new Hive.
Is this trigger done right?
----------------------------------------------------
Untitled Trigger
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 0 and 100) Less than or equal to 30
((Attacking unit) has buff Unholy Aura) Equal to True
Then - Actions
Unit - Add Item Life Steal to (Attacking unit)
Unit - Set level of Item Life Steal for (Attacking unit) to (Level of Unholy Aura for Arthas (Evil) 0001 <gen>)
Wait 1.00 seconds
Unit - Remove Item Life Steal from (Attacking unit)
Else - Actions
----------------------------------------------------
Sorry for posting the trigger like that, i'm still not used to using this new Hive.