BuryAutumn
New Member
- Reaction score
- 3
I made an ability that uses a dummy unit to but an enemy to sleep, but instead of putting the enemy to sleep, it gets stunned. My damage skill used to initiate the trigger is "Storm Bolt" but I took away the buffs and stun time so that the enemy would only get sleep.
How do I fix this?
How do I fix this?
Code:
Tranquilize
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Tranquilize
Actions
Unit - Create 1 tranquilizedummy for (Triggering player) at (Position of (Triggering unit)) facing Default building facing degrees
Unit - Order (Last created unit) to Undead Dreadlord - Sleep (Target unit of ability being cast)
Wait 10.00 seconds
Unit - Remove (Last created unit) from the game