Avoid aoe for game object

This commit is contained in:
Yunfan Li
2024-04-15 20:36:44 +08:00
parent 09ae42ea30
commit 56881c3a4d
4 changed files with 107 additions and 17 deletions

View File

@@ -27,7 +27,7 @@ class NearestGameObjects : public ObjectGuidListCalculatedValue
class NearestTrapWithDamageValue : public ObjectGuidListCalculatedValue
{
public:
NearestTrapWithDamageValue(PlayerbotAI* botAI, float range = sPlayerbotAIConfig->sightDistance) :
NearestTrapWithDamageValue(PlayerbotAI* botAI, float range = 10.0f) :
ObjectGuidListCalculatedValue(botAI, "nearest trap with damage", 1 * 1000), range(range) { }
protected: