Removed pets from Witness Heal Aggro.

This commit is contained in:
Paul Coene 2018-01-09 18:00:34 -05:00
parent a6b9cd87ec
commit 2dad087bbd

View File

@ -3257,7 +3257,7 @@ void EntityList::AddHealAggro(Mob *target, Mob *caster, uint16 hate)
for (auto &e : npc_list) { for (auto &e : npc_list) {
auto &npc = e.second; auto &npc = e.second;
if (!npc->CheckAggro(target) || npc->IsFeared()) if (!npc->CheckAggro(target) || npc->IsFeared() || npc->IsPet())
continue; continue;
if (zone->random.Roll(50)) // witness check -- place holder if (zone->random.Roll(50)) // witness check -- place holder