It shouldn't be difficult to add EVENT_CAST to player quests, but I have a variation on the idea that I would like some feedback on:
If the intent is to make custom spell scripts, what about introducing a new spell effect, something like "script effect", that could be added to custom spells. Then, when a spell with that effect is cast, it would trigger a script corresponding to the spell id. That way you could mix and match normal effects and scripting without having to fill player.pl with if statements, and it should give a lot more versatility for making new spells. Any thoughts?
|