Abokasee-the-Troll
A
Abokasee-the-Troll
I'm trying to create a trigger which will create a random chance of a unit being upgraded after it kills another unit. Unforutunatly this trigger doesn't work at all for some reason.
Here is the trigger:
I have no idea why this doesn't work.
Much help apprieciated.
Rep will of course be given.
Here is the trigger:
-
Grunt to Proven
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


(Unit-type of (Attacking unit)) Equal to Grunt
-
-

Actions
-


If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-



If - Conditions
-




(Random integer number between 1 and 6) Greater than or equal to 3
-
-



Then - Actions
-




Unit - Replace (Attacking unit) with a Proven using The old unit's relative life and mana
-
-



Else - Actions
-




Do nothing
-
-
-
-
-
Grunt to Proven Copy
-

Events
-


Unit - A unit Dies
-
-

Conditions
-


(Unit-type of (Attacking unit)) Equal to Grunt
-
-

Actions
-


Unit - Replace (Attacking unit) with a Proven using The old unit's relative life and mana
-
-
I have no idea why this doesn't work.
Much help apprieciated.
Rep will of course be given.








