mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-15 01:49:09 +00:00
reduce target calculation overhead
This commit is contained in:
@@ -75,7 +75,7 @@ class ManaValue : public Uint8CalculatedValue, public Qualified
|
||||
class HasManaValue : public BoolCalculatedValue, public Qualified
|
||||
{
|
||||
public:
|
||||
HasManaValue(PlayerbotAI* botAI, std::string const name = "has mana") : BoolCalculatedValue(botAI, name) { }
|
||||
HasManaValue(PlayerbotAI* botAI, std::string const name = "has mana") : BoolCalculatedValue(botAI, name, 2 * 1000) { }
|
||||
|
||||
Unit* GetTarget();
|
||||
bool Calculate() override;
|
||||
|
||||
Reference in New Issue
Block a user