mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 16:52:25 +00:00
Merge d413ea424323d834e1dc3d9b01a720f7063be697 into ba2ca5eada80ac758ef8c2a2510cb39b0563119a
This commit is contained in:
commit
93f89b7bff
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user