Merge git://github.com/EQEmu/Server into Development

This commit is contained in:
KayenEQ
2014-10-24 23:28:15 -04:00
14 changed files with 126 additions and 18 deletions
+6
View File
@@ -3132,6 +3132,12 @@ int Mob::AddBuff(Mob *caster, uint16 spell_id, int duration, int32 level_overrid
safe_delete(outapp);
}
if (IsNPC()) {
EQApplicationPacket *outapp = MakeBuffsPacket();
entity_list.QueueClientsByTarget(this, outapp, false, nullptr, true, false, BIT_SoDAndLater, true);
safe_delete(outapp);
}
// recalculate bonuses since we stripped/added buffs
CalcBonuses();