View Single Post
  #2  
Old 07-02-2010, 04:37 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by KLS View Post
The wiki doesn't stay up to date all the time but there are spell quests in code now. In eqemudir/quests/spells/[spell id].pl

EVENT_SPELL_EFFECT_CLIENT
EVENT_SPELL_EFFECT_NPC
EVENT_SPELL_EFFECT_BUFF_TIC_CLIENT
EVENT_SPELL_EFFECT_BUFF_TIC_NPC

It however may not be enough as is because tic count remaining isn't exported.
Couldn't you just keep track of the ticks based on a sub event in perl, and remove the damage from the spell itself? That way you could do the damage in perl, and keep the tics on the spell. I think that would work, no?
Reply With Quote