hopy
Active Member
- Reaction score
- 64
I was Trying to make a ability based on Shadow Strike wich gives the target 10% to get stunned every 3 seconds.
I got a trigger ... wich I realy think should work ... but it doesn't xD
I think there is a problem that makes that it doesn't work ... but I can't find it
Plz help
(I don't think I will be able to reply in a ... lots of hours ... (Sleep/School/Work -,- so much))
I got a trigger ... wich I realy think should work ... but it doesn't xD
I think there is a problem that makes that it doesn't work ... but I can't find it
Code:
Events
Units - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Poison Strike
Actions
Set P_Caster_Point = (Position of Triggering unit)
Set P_target = (Target unit of ability being cast)
For each (Integer A) from 1 to (5 + (Level of Poison Strike for (Triggering unit))), do (Actions)
Loop - Actions
Wait 3.00 game-time seconds
If (All Conditions are True) than do (Then Actions) else do (Else Actions)
If - Conditions
(Random integer number between 1 and (11 - (Level of Poison Strike for (Triggering unit)))) Equal to 1
Then - Actions
Unit - Create 1 Dummy Unit for (Owner of (Triggering unit)) at P_Caster_Point facing Default building facing degrees
Unit - Add Poison Strike [Dummy] to (Last created unit)
Unit - Order (Last created unit) to Human Mountain King - Storm Bolt P_target
Wait 0.20 game-time seconds
Unit - Remove (Last created unit) from the game
Else - Actions
Do nothing
Plz help
(I don't think I will be able to reply in a ... lots of hours ... (Sleep/School/Work -,- so much))