mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-17 18:55:41 +00:00
refactor: naxxramas and kel'thuzad strategy
This commit is contained in:
@@ -30,4 +30,13 @@ class NearestVehiclesValue : public NearestUnitsValue
|
||||
bool AcceptUnit(Unit* unit) override;
|
||||
};
|
||||
|
||||
class NearestTriggersValue : public NearestUnitsValue
|
||||
{
|
||||
public:
|
||||
NearestTriggersValue(PlayerbotAI* botAI, float range = sPlayerbotAIConfig->sightDistance) : NearestUnitsValue(botAI, "nearest triggers", range) { }
|
||||
|
||||
protected:
|
||||
void FindUnits(std::list<Unit*>& targets) override;
|
||||
bool AcceptUnit(Unit* unit) override;
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user