diff --git a/zone/entity.cpp b/zone/entity.cpp index 55ffd9cee..b27ea57b3 100644 --- a/zone/entity.cpp +++ b/zone/entity.cpp @@ -3592,24 +3592,6 @@ void EntityList::HalveAggro(Mob *who) } } -void EntityList::Evade(Mob *who) -{ - uint32 flatval = who->GetLevel() * 13; - int amt = 0; - auto it = npc_list.begin(); - while (it != npc_list.end()) { - if (it->second->CastToNPC()->CheckAggro(who)) { - amt = it->second->CastToNPC()->GetHateAmount(who); - amt -= flatval; - if (amt > 0) - it->second->CastToNPC()->SetHateAmountOnEnt(who, amt); - else - it->second->CastToNPC()->SetHateAmountOnEnt(who, 0); - } - ++it; - } -} - //removes "targ" from all hate lists, including feigned, in the zone void EntityList::ClearAggro(Mob* targ) { diff --git a/zone/entity.h b/zone/entity.h index 6cd3b4775..939bf2d65 100644 --- a/zone/entity.h +++ b/zone/entity.h @@ -470,7 +470,6 @@ public: void CorpseFix(Client* c); void HalveAggro(Mob* who); void DoubleAggro(Mob* who); - void Evade(Mob *who); void UpdateHoTT(Mob* target); void Process();