diff --git a/zone/hate_list.cpp b/zone/hate_list.cpp index 18dcd98e0..9ef52765a 100644 --- a/zone/hate_list.cpp +++ b/zone/hate_list.cpp @@ -42,19 +42,6 @@ HateList::~HateList() { } -// added for frenzy support -// checks if target still is in frenzy mode -void HateList::IsEntityInFrenzyMode() -{ - auto iterator = list.begin(); - while (iterator != list.end()) - { - if ((*iterator)->entity_on_hatelist->GetHPRatio() >= 20) - (*iterator)->is_entity_frenzy = false; - ++iterator; - } -} - void HateList::WipeHateList() { auto iterator = list.begin(); diff --git a/zone/hate_list.h b/zone/hate_list.h index ff15bbab0..ec1f7d634 100644 --- a/zone/hate_list.h +++ b/zone/hate_list.h @@ -84,7 +84,6 @@ public: bool add_to_hate_list_if_not_exist = true ); void DoFactionHits(int64 npc_faction_level_id, int32 faction_id, int32 faction_value); - void IsEntityInFrenzyMode(); void PrintHateListToClient(Client *c); void SetHateAmountOnEnt(Mob *other, int64 in_hate, uint64 in_damage); void SetHateOwner(Mob *new_hate_owner) { hate_owner = new_hate_owner; }