View Single Post
  #1  
Old 06-01-2010, 06:11 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default SE_NegateIfCombat Effects

I have noticed that on spells like Scale of Wolf and Spirit of Scale will not remove when applied to a pet.

These two spells should remove by an attack or casting of a spell, currently NPC's or pets continue to have the spell after attacking.

The client controls the removal of the buff when attacking or casting but no code exists in the server to control NPC's.

I was considering the best way of implementing such a fix.

If you added a few function to check if you had a buff that had the SE_NegativeifCombat it would do a lot unnecessary processing every time an attack or spell was casted.

Anyone have any ideas on the best way to add check to the code to remove these buffs from NPC's efficiently.
__________________
Lead GM Voidd of the Vallon / Tallon Zek Server
Reply With Quote