- Joined
- Aug 3, 2005
- Messages
- 70
Is there any way to place a specified spell on cooldown for a unit by using triggers?
I have a spell based off Channel that deals damage to a unit on the event of 'Unit - A unit Begins casting an ability'. However, when the unit is near death, and the spell is used, the trigger kills the target before the spell can finish and go into cooldown.
For some reason, using the 'Unit - A unit Begins casting an ability' is the only event in which the rest of the trigger will work. (Rest of the trigger being simply damaging the target unit)
I've tried 'Unit - A unit Finishes casting an ability', but that made the rest of the trigger not work for some reason, and the unit didn't take any damage.
I also tried adding a minor wait time before damaging the unit, but that made the trigger not work, and the unit didn't take any damage either.
So is there any way to force a cooldown short of spawning a dummy and force casting it on the dummy (That would look a bit strange)?
Or is there something else that I could do to fix the trigger so that the cooldown would register / cast would finish before the target dies?
Any help or light shedding on the subject would be greatly appreciated
I have a spell based off Channel that deals damage to a unit on the event of 'Unit - A unit Begins casting an ability'. However, when the unit is near death, and the spell is used, the trigger kills the target before the spell can finish and go into cooldown.
For some reason, using the 'Unit - A unit Begins casting an ability' is the only event in which the rest of the trigger will work. (Rest of the trigger being simply damaging the target unit)
I've tried 'Unit - A unit Finishes casting an ability', but that made the rest of the trigger not work for some reason, and the unit didn't take any damage.
I also tried adding a minor wait time before damaging the unit, but that made the trigger not work, and the unit didn't take any damage either.
So is there any way to force a cooldown short of spawning a dummy and force casting it on the dummy (That would look a bit strange)?
Or is there something else that I could do to fix the trigger so that the cooldown would register / cast would finish before the target dies?
Any help or light shedding on the subject would be greatly appreciated