Charmed pets should no longer be targettable with F8. Charmed pets no longer get a surname of Soandso's Pet.

This commit is contained in:
Derision
2013-02-18 18:58:26 +00:00
parent 9f63498a64
commit 9680c039f0
4 changed files with 13 additions and 6 deletions
+2
View File
@@ -732,6 +732,7 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
entity_list.QueueClients(this, app);
safe_delete(app);
SendPetBuffsToClient();
SendAppearancePacket(AT_Pet, caster->GetID(), true, true);
}
if (IsClient())
@@ -3499,6 +3500,7 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
if(IsNPC())
{
CastToNPC()->RestoreGuardSpotCharm();
SendAppearancePacket(AT_Pet, 0, true, true);
}
Mob* tempmob = GetOwner();