EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Server Code Submissions (https://www.eqemulator.org/forums/forumdisplay.php?f=669)
-   -   detrimental spells not taking down buffs (https://www.eqemulator.org/forums/showthread.php?t=36958)

noudess 06-14-2013 09:39 AM

detrimental spells not taking down buffs
 
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.

Code:

/*
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;
}



All times are GMT -4. The time now is 04:31 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.