PDA

View Full Version : detrimental spells not taking down buffs


noudess
06-14-2013, 09:39 AM
Please let me know if this is incorrect, but I've seen two instance of this bug on my server:

listless_power overwrites augmentation on the GUI but not on the server. Zoning forces the GUI to show both up, which isincorrect.

Snare does not overwrite sow.

Both do overwrite on live.

I just deleted this code in spells.cpp ( 648 -658 ) and things seems to work for me.

Please forgive and correct me if I'm missing something.

/*
If the effects are the same and
sp1 = beneficial & sp2 = detrimental or
sp1 = detrimental & sp2 = beneficial
Then this effect should be ignored for stacking purposes.
*/
if(sp_det_mismatch)
{
mlog(SPELLS__STACKING, "The effects are the same but the spell types are not, passing the effect");
continue;
}