arcemu/arcemu — Issue #37: SERVER_HOOK_EVENT_ON_CAST_SPELL
Author: MesoX
Created: 2011-11-21 09:03:36+00:00
State: open

I wanted to ask, why is this hook event executed in Spell:prepare instead of Spell::finish like all other CastSpell events? It's making this hook mostly useless, because script itself is executed when you start casting, instead of when you finish casting. I'd like to change that myself, but I am unsure if removing it from Spell::prepare would affect anything.

For example I want to use it for this quest: http://www.wowhead.com/quest=12842 , where you have to complete quest by using one of two runeforging spells, but it takes some seconds to finish the casting, however quest is finished right when you start casting. I know it's more cosmetic issue then a bug, but it would be nice to have it executed when casting is done.