mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-21 23:08:21 +00:00
Merge d413ea4243 into ba2ca5eada
This commit is contained in:
@@ -4394,9 +4394,9 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
|
|||||||
case SpellEffect::Familiar:
|
case SpellEffect::Familiar:
|
||||||
{
|
{
|
||||||
Mob *mypet = GetPet();
|
Mob *mypet = GetPet();
|
||||||
if (mypet){
|
if (mypet && mypet->IsNPC() &&
|
||||||
if(mypet->IsNPC())
|
mypet->CastToNPC()->GetPetSpellID() == buffs[slot].spellid) {
|
||||||
mypet->CastToNPC()->Depop();
|
mypet->CastToNPC()->Depop();
|
||||||
SetPetID(0);
|
SetPetID(0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user