From 758774b0bf1a01f71629c3b81ce094da94e687a0 Mon Sep 17 00:00:00 2001 From: ltroylove Date: Mon, 20 Apr 2026 19:51:47 -0500 Subject: [PATCH] fix: only dismiss pet summoned by the fading familiar buff (#5063) --- zone/spell_effects.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zone/spell_effects.cpp b/zone/spell_effects.cpp index 7b29ca2c5..4930f1154 100644 --- a/zone/spell_effects.cpp +++ b/zone/spell_effects.cpp @@ -4394,9 +4394,9 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses) case SpellEffect::Familiar: { Mob *mypet = GetPet(); - if (mypet){ - if(mypet->IsNPC()) - mypet->CastToNPC()->Depop(); + if (mypet && mypet->IsNPC() && + mypet->CastToNPC()->GetPetSpellID() == buffs[slot].spellid) { + mypet->CastToNPC()->Depop(); SetPetID(0); } break;