ZelNaga
New Member
- Reaction score
- 5
So I'm having trouble making this trigger work. I've got a Devotion Aura with the buff "Serpent Aura" attached to it. The aura targets the correct units but will not spawn the Serpent Ward when one dies...Atm it should spawn a Ward 100% of the time (Level=1..Levelx100=100 >= random # between 1-100) but it doesn't do anything.:banghead:
Please help? =D
Please help? =D
Code:
Serpent Aura
Events
Unit - A unit Dies
Conditions
((Dying unit) has buff Serpent Aura ) Equal to True
Actions
Set Level = 1
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level x 100) Greater than or equal to (Random integer number between 1 and 100)
Then - Actions
Unit - Create 1 Serpent Ward for (Owner of (Dying unit)) at (Position of (Dying unit)) facing Default building facing degrees
Else - Actions
Do nothing