Inspect buffs rank 1 will now show NPC buffs in target window (SoD+)

This commit is contained in:
Michael Cook (mackal) committed 2014-10-20 01:05:38 -04:00
1 parent affb735c38
commit c81491f97e
6 files changed
+60 -11

No files matched your search

+6
View File
@@ -4168,6 +4168,12 @@ void Mob::BuffFadeBySlot(int slot, bool iRecalcBonuses)
safe_delete(outapp);
}
if (IsNPC()) {
EQApplicationPacket *outapp = MakeBuffsPacket();
entity_list.QueueClientsByTarget(this, outapp, false, nullptr, true, false, BIT_SoDAndLater, true);
safe_delete(outapp);
}
if(IsClient() && CastToClient()->GetClientVersionBit() & BIT_UnderfootAndLater)
{
EQApplicationPacket *outapp = MakeBuffsPacket(false);