- Joined
- Feb 2, 2006
- Messages
- 1,635
Hi,
I have multiple custom spells using UnitDamageTargetBJ() to damage the spell target unit.
The event is EVENT_PLAYER_UNIT_SPELL_CHANNEL.
However when the target gets killed by the amount of damage the cooldown and mana costs are ignored as spell would not have been cast.
How can I fix that? TriggerSleepAction() probably would help or another event but I still want to use all event reaction functions and to avoid any sleeps.
I have multiple custom spells using UnitDamageTargetBJ() to damage the spell target unit.
The event is EVENT_PLAYER_UNIT_SPELL_CHANNEL.
However when the target gets killed by the amount of damage the cooldown and mana costs are ignored as spell would not have been cast.
How can I fix that? TriggerSleepAction() probably would help or another event but I still want to use all event reaction functions and to avoid any sleeps.
Last edited by a moderator: