Okay, the thing is I want to make a tower that (when attacks) has a 5% chance to cast Cripple and another 5% chance to cast Purge on the attacked unit. The rest of the time, (90%) it'd do normal damage.
I tried making a normal tower with two orb-based abilities but it didn't work.
I've also tried using this trigger with it:
Any ideas?
Thanks.
I tried making a normal tower with two orb-based abilities but it didn't work.
I've also tried using this trigger with it:
-
Events
-

Unit - A unit Is attacked
-
-
Conditions
-

(Unit-type of (Attacking unit)) Equal to Magic Tower
-
-
Actions
-

Set integer_random = (Random integer number between 1 and 20)
-

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


If - Conditions
-



integer_random Equal to 7
-
-


Then - Actions
-



Unit - Add Cripple to (Attacking unit)
-



Wait 2.00 seconds
-



Unit - Remove Cripple from (Attacking unit)
-
-


Else - Actions
-



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




If - Conditions
-





integer_random Equal to 4
-





Then - Actions
-






Unit - Add Purge to (Attacking unit)
-






Wait 2.00 seconds
-






Unit - Remove Hex from (Attacking unit)
-
-





Else - Actions
-






Do nothing
-
-
-
-
-
-
Any ideas?
Thanks.




