I have asked simular question before, thought i never actualy got time to test the suggestions:
http://www.eqemulator.net/forums/showthread.php?t=25604
and I am still bot sure how to make NPC:
-cast spell on player OTHEr than selfcast (cuase I belvie selfcast casted as if player casts on himself and may result in wrong landign when NPC suppsoe to NUKE the player)
-make npc cast spell on HIMSELF