mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 16:41:29 +00:00
Break "same spell line" optimizations for mana burns
This commit is contained in:
parent
60c6583c54
commit
1d6a185f0f
@ -2789,7 +2789,8 @@ int Mob::CheckStackConflict(uint16 spellid1, int caster_level1, uint16 spellid2,
|
|||||||
bool effect_match = true; // Figure out if we're identical in effects on all slots.
|
bool effect_match = true; // Figure out if we're identical in effects on all slots.
|
||||||
if (spellid1 != spellid2) {
|
if (spellid1 != spellid2) {
|
||||||
for (i = 0; i < EFFECT_COUNT; i++) {
|
for (i = 0; i < EFFECT_COUNT; i++) {
|
||||||
if (sp1.effectid[i] != sp2.effectid[i]) {
|
// we don't want this optimization for mana burns
|
||||||
|
if (sp1.effectid[i] != sp2.effectid[i] || sp1.effectid[i] == SE_ManaBurn) {
|
||||||
effect_match = false;
|
effect_match = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user