Hey I need help with this trigger I'm making. What I want to happen is my character casts a spell which stuns and I made a dummy unit to cast slow on the attacked unit after the stun wears off so my enemy is slowed.
Thats the code I have. For some reason it won't work for me. I was hoping if you people can help me fix my trigger. Thanks.
Code:
Event
>Unit - A Unit begins casting an ability
Condition
>(Ability being cast) Equal to Storm Bolt (for example)
Action
>Unit - Create 1 Dummy Unit for (Triggering Player) at (Position of (Triggering Unit)) facing Default building facing degrees
>Unit - Add a 4.00 second Generic expiration timer to (Last created Unit)
>Unit - Add Slow to (Last created Unit)
>Unit - Order (Last created unit) to Human Sorceress - Slow (Attacked Unit)
Thats the code I have. For some reason it won't work for me. I was hoping if you people can help me fix my trigger. Thanks.