diff --git a/src/strategy/values/DpsTargetValue.cpp b/src/strategy/values/DpsTargetValue.cpp index 05f6199b..6e6415d6 100644 --- a/src/strategy/values/DpsTargetValue.cpp +++ b/src/strategy/values/DpsTargetValue.cpp @@ -6,32 +6,6 @@ #include "PlayerbotAIConfig.h" #include "Playerbots.h" -class FindLeastHpTargetStrategy : public FindTargetStrategy -{ - public: - FindLeastHpTargetStrategy(PlayerbotAI* botAI) : FindTargetStrategy(botAI), minHealth(0) { } - - void CheckAttacker(Unit* attacker, ThreatMgr* threatMgr) override - { - if (!attacker->IsAlive()) { - return; - } - if (foundHighPriority) { - return; - } - if (IsHighPriority(attacker)) { - result = attacker; - foundHighPriority = true; - return; - } - if (!result || result->GetHealth() > attacker->GetHealth()) - result = attacker; - } - - protected: - float minHealth; -}; - class FindMaxThreatGapTargetStrategy : public FindTargetStrategy { public: