This was supposed to be my trigger
But still it doesnt work... Please tell me how to make the dummy use the spell...
-
Events
-
Unit - A unit Is attacked
-
-
Conditions
-
(Unit-type of (Attacking unit)) Equal to SkillMaker
-
-
Actions
-
Set Clap_Integer = (Random integer number between 1 and 15)
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
Clap_Integer Greater than or equal to 15
-
-
Then - Actions
-
Unit Group - Pick every unit in (Units within 250.00 of (Position of (Attacking unit)) matching (((Unit-type of (Triggering unit)) Equal to Stunning Dummy) and (((Unit-type of (Attacking unit)) Equal to SkillMaker) and (((Triggering unit) belongs to an enemy of (Owner of (Attacking unit))) and do (Actions)
-
Loop - Actions
-
Selection - Remove (Attacking unit) from selection for (Owner of (Attacking unit))
-
Unit - Create 1 Stunning Dummy for (Owner of (Attacking unit)) at (Position of (Attacking unit)) facing Default building facing (270.0) degrees
-
Unit - Add Thunder Clapping to (Picked unit)
-
Unit - Set level of Thunder Clapping for (Picked unit) to (Level of Thundering Hammer for (Attacking unit))
-
Unit - Order (Picked unit) to Human Mountain King - Thunder Clap (Position of (Picked unit))
-
Wait 0.30 seconds
-
Unit - Remove Thunder Clapping from (Picked unit)
-
Wait 0.15 seconds
-
Unit - Remove (Picked unit) from the game
-
Selection - Add (Attacking unit) to selection for (Owner of (Attacking unit))
-
-
-
-
Else - Actions
-
Do nothing
-
-
-
But still it doesnt work... Please tell me how to make the dummy use the spell...