mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-22 04:56:22 +00:00
[Combat formation] Combat formation set up
This commit is contained in:
@@ -301,6 +301,7 @@ class ValueContext : public NamedObjectContext<UntypedValue>
|
||||
creators["expected group dps"] = &ValueContext::expected_group_dps;
|
||||
creators["area debuff"] = &ValueContext::area_debuff;
|
||||
creators["nearest trap with damage"] = &ValueContext::nearest_trap_with_damange;
|
||||
creators["disperse distance"] = &ValueContext::disperse_distance;
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -505,6 +506,7 @@ class ValueContext : public NamedObjectContext<UntypedValue>
|
||||
static UntypedValue* expected_group_dps(PlayerbotAI* ai) { return new ExpectedGroupDpsValue(ai); }
|
||||
static UntypedValue* area_debuff(PlayerbotAI* ai) { return new AreaDebuffValue(ai); }
|
||||
static UntypedValue* nearest_trap_with_damange(PlayerbotAI* ai) { return new NearestTrapWithDamageValue(ai); }
|
||||
static UntypedValue* disperse_distance(PlayerbotAI* ai) { return new DisperseDistanceValue(ai); }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user