Am I in the right spot? As far as npc spells knocking down buffs? That's spells.cpp in the SPELLS__STACKING code? I just didn't want to be way off base when I tried to fix this.
I noticed that similar things happen when str buffs and str debuffs are applied. The gui shows only the debuff but the server leaves the str up.
I'm new to eqemu (only been playing, modifying code/db for 5 months or so) so I like to check with the dieties when I enter an area I haven't touched.
BTW: As a quick test, I commented out the code which says don't overwrite if one is beneficial and one is detrimental, and then also added a check to say if sp2 is detrimental, allow it to overwrite and it fixed this one problem, but given my limited insight into this code and the db fields, I'm sure that is going to do more harm than good elsewhere.
|