fix action node factory

This commit is contained in:
Yunfan Li
2023-11-10 20:10:03 +08:00
parent 7063e5e00b
commit 748801b10b
3 changed files with 9 additions and 9 deletions

View File

@@ -43,13 +43,13 @@ class GenericHunterStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*C*/ nullptr);
}
// static ActionNode* wing_clip([[maybe_unused]] PlayerbotAI* botAI)
// {
// return new ActionNode("wing clip",
// /*P*/ nullptr,
// /*A*/ NextAction::array(0, new NextAction("raptor strike"), nullptr),
// /*C*/ NextAction::array(0, new NextAction("flee"), nullptr));
// }
static ActionNode* wing_clip([[maybe_unused]] PlayerbotAI* botAI)
{
return new ActionNode("wing clip",
/*P*/ nullptr,
/*A*/ NextAction::array(0, new NextAction("raptor strike"), nullptr),
/*C*/ nullptr);
}
static ActionNode* raptor_strike([[maybe_unused]] PlayerbotAI* botAI)
{