View Single Post
  #4  
Old 02-15-2004, 02:53 AM
Scorpious2k's Avatar
Scorpious2k
Demi-God
 
Join Date: Mar 2003
Location: USA
Posts: 1,067
Default

I'm not sure if its out in cvs yet (I think t is - check parser.cpp source) but quest::selfcast("spellid"); I think is what you want.

It causes a spell to be cast on the target - probably for those spells where the target can only be self and can't be cast on others. If you use quest::castspell with those, it causes he spell to be cast on the NPC as I recall.
__________________
Maybe I should try making one of these servers...
Reply With Quote