mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 14:41:28 +00:00
Removed pets from Witness Heal Aggro.
This commit is contained in:
parent
a6b9cd87ec
commit
2dad087bbd
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user