Add DivineAura effect restoration for non-client mobs

Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-01-31 03:40:51 +00:00
parent 8542ea0acc
commit 57edda7535

View File

@ -4704,6 +4704,9 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses, bool suppress, uint32 su
case SpellEffect::Amnesia:
Amnesia(true);
break;
case SpellEffect::DivineAura:
invulnerable = true;
break;
case SpellEffect::AddMeleeProc:
case SpellEffect::WeaponProc:
AddProcToWeapon(GetProcID(buffs[slot].spellid, i), false, 100 + spell.limit_value[i], buffs[slot].spellid, buffs[slot].casterlevel, GetSpellProcLimitTimer(buffs[slot].spellid, ProcType::MELEE_PROC));