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

This commit is contained in:
Michael Cook (mackal)
2014-10-20 01:05:08 -04:00
parent affb735c38
commit c81491f97e
6 changed files with 60 additions and 11 deletions
+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);