mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-29 16:33:46 +00:00
Stay strategy improvement (#1072)
* - Stay Strategy work in combat and with RTSC * - Fixed summon with stay strategy * - Added new stay strategy support for chat commands
This commit is contained in:
@@ -194,6 +194,7 @@ public:
|
||||
creators["rti cc"] = &ValueContext::rti_cc;
|
||||
creators["rti"] = &ValueContext::rti;
|
||||
creators["position"] = &ValueContext::position;
|
||||
creators["pos"] = &ValueContext::pos;
|
||||
creators["current position"] = &ValueContext::current_position;
|
||||
creators["threat"] = &ValueContext::threat;
|
||||
|
||||
@@ -342,6 +343,7 @@ private:
|
||||
static UntypedValue* attackers(PlayerbotAI* botAI) { return new AttackersValue(botAI); }
|
||||
|
||||
static UntypedValue* position(PlayerbotAI* botAI) { return new PositionValue(botAI); }
|
||||
static UntypedValue* pos(PlayerbotAI* ai) { return new SinglePositionValue(ai); }
|
||||
static UntypedValue* current_position(PlayerbotAI* botAI) { return new CurrentPositionValue(botAI); }
|
||||
static UntypedValue* rti(PlayerbotAI* botAI) { return new RtiValue(botAI); }
|
||||
static UntypedValue* rti_cc(PlayerbotAI* botAI) { return new RtiCcValue(botAI); }
|
||||
|
||||
Reference in New Issue
Block a user