[Bug Fix] Rez Effects Stacking (#3882)

Nothing conflicts with stacking with resurrection effects
This commit is contained in:
Fryguy 2024-01-07 12:13:36 -05:00 committed by GitHub
parent 611122833d
commit 0c3149a6e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3055,6 +3055,10 @@ int Mob::CheckStackConflict(uint16 spellid1, int caster_level1, uint16 spellid2,
LogSpells("Check Stacking on old [{}] ([{}]) @ lvl [{}] (by [{}]) vs. new [{}] ([{}]) @ lvl [{}] (by [{}])", sp1.name, spellid1, caster_level1, (caster1==nullptr)?"Nobody":caster1->GetName(), sp2.name, spellid2, caster_level2, (caster2==nullptr)?"Nobody":caster2->GetName());
if (IsResurrectionEffects(spellid1)) {
return 0;
}
if (spellbonuses.CompleteHealBuffBlocker && IsEffectInSpell(spellid2, SE_CompleteHeal)) {
Message(0, "You must wait before you can be affected by this spell again.");
return -1;