N
NEW_USER
Guest
I'm trying to make a trigger so when I use this ability it has a chance to stun and do damage and give gold. Here's the trigger.
Lottery
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Attacked unit) has buff Stunned (Pause)) Equal to True
Then - Actions
Player - Add 1000 to (Owner of (Attacking unit)) Current gold
Floating Text - Create floating text that reads (Colored Text Preset - Gold (c| Included) + +1000|r) at (Position of (Attacked unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Wait 2.00 seconds
Floating Text - Destroy (Last created floating text)
Else - Actions
Do nothing
BUT IT DOESN'T WORK PLEASE HELP ME
Lottery
Events
Unit - A unit Is attacked
Conditions
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Attacked unit) has buff Stunned (Pause)) Equal to True
Then - Actions
Player - Add 1000 to (Owner of (Attacking unit)) Current gold
Floating Text - Create floating text that reads (Colored Text Preset - Gold (c| Included) + +1000|r) at (Position of (Attacked unit)) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
Wait 2.00 seconds
Floating Text - Destroy (Last created floating text)
Else - Actions
Do nothing
BUT IT DOESN'T WORK PLEASE HELP ME


