dk presence

This commit is contained in:
Yunfan Li
2023-09-03 14:35:24 +08:00
parent 14b94e20fb
commit 50a2be40f7
2 changed files with 17 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
public:
FrostDKStrategyActionNodeFactory()
{
//creators["icy touch"] = &icy_touch;
creators["icy touch"] = &icy_touch;
creators["obliterate"] = &obliterate;
creators["howling blast"] = &howling_blast;
creators["frost strike"] = &frost_strike;
@@ -29,6 +29,14 @@ class FrostDKStrategyActionNodeFactory : public NamedObjectFactory<ActionNode>
}
private:
static ActionNode* icy_touch([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("icy touch",
/*P*/ NextAction::array(0, new NextAction("blood presence"), nullptr),
/*A*/ nullptr,
/*C*/ nullptr);
}
static ActionNode* obliterate([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("obliterate",