-
Total Destruction armor raising
-
Events
-
Conditions
-
(Level of Total Destruction for (Summoned unit)) Greater than 0
-
-
Actions
-
Set SpiritoftheFallen = (Summoned unit)
-
Set DamagingChance = (Random integer number between 1 and 100)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
DamagingChance Less than or equal to 50
-
-
Then - Actions
-
Unit - Add Armor Raise (+4) to (Summoned unit)
-
Special Effect - Create a special effect attached to the overhead of (Summoned unit) using Abilities\Spells\Undead\DeathCoil\DeathCoilMissile.mdl
-
Wait 5.00 seconds
-
Unit - Remove Armor Raise (+4) from (Summoned unit)
-
Special Effect - Destroy (Last created special effect)
-
-
Else - Actions
-
-
-
Since the Spirit of the Fallen is a unit summoned by the Blademaster, I specified at the variable above.
This doesn't work. I'm pretty sure it's some flaw I can't notice. Can anyone help me with this code?