mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-18 19:25:44 +00:00
[Avoid aoe] Crash fix and cover more spell
This commit is contained in:
@@ -30,8 +30,8 @@ class AllTargetsValue : public PossibleTargetsValue
|
||||
class PossibleTriggersValue : public NearestUnitsValue
|
||||
{
|
||||
public:
|
||||
PossibleTriggersValue(PlayerbotAI* botAI, std::string const name = "possible targets", float range = sPlayerbotAIConfig->sightDistance, bool ignoreLos = true):
|
||||
NearestUnitsValue(botAI, name, range, ignoreLos) { }
|
||||
PossibleTriggersValue(PlayerbotAI* botAI, std::string const name = "possible triggers", float range = 15.0f, bool ignoreLos = true):
|
||||
NearestUnitsValue(botAI, name, range, ignoreLos, 1 * 1000) { }
|
||||
|
||||
protected:
|
||||
void FindUnits(std::list<Unit*>& targets) override;
|
||||
|
||||
Reference in New Issue
Block a user