mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-15 01:49:09 +00:00
[Avoid aoe] Crash fix and cover more spell
This commit is contained in:
@@ -27,7 +27,7 @@ class NearestGameObjects : public ObjectGuidListCalculatedValue
|
||||
class NearestTrapWithDamageValue : public ObjectGuidListCalculatedValue
|
||||
{
|
||||
public:
|
||||
NearestTrapWithDamageValue(PlayerbotAI* botAI, float range = 10.0f) :
|
||||
NearestTrapWithDamageValue(PlayerbotAI* botAI, float range = 15.0f) :
|
||||
ObjectGuidListCalculatedValue(botAI, "nearest trap with damage", 1 * 1000), range(range) { }
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user