avoid AOE strategy (WIP)

This commit is contained in:
郑佩茹
2023-03-23 12:22:58 -06:00
parent 352969a0c8
commit 53395b64ed
9 changed files with 137 additions and 0 deletions

View File

@@ -283,6 +283,8 @@ class ValueContext : public NamedObjectContext<UntypedValue>
creators["RTSC selected"] = &ValueContext::RTSC_selected;
creators["RTSC next spell action"] = &ValueContext::RTSC_next_spell_action;
creators["RTSC saved location"] = &ValueContext::RTSC_saved_location;
creators["has area debuff"] = &ValueContext::has_area_debuff;
}
private:
@@ -471,6 +473,8 @@ class ValueContext : public NamedObjectContext<UntypedValue>
static UntypedValue* RTSC_selected(PlayerbotAI* botAI) { return new RTSCSelectedValue(botAI); }
static UntypedValue* RTSC_next_spell_action(PlayerbotAI* botAI) { return new RTSCNextSpellActionValue(botAI); }
static UntypedValue* RTSC_saved_location(PlayerbotAI* botAI) { return new RTSCSavedLocationValue(botAI); }
static UntypedValue* has_area_debuff(PlayerbotAI* botAI) { return new HasAreaDebuffValue(botAI); }
};
#endif