remove meaningless flee

This commit is contained in:
Yunfan Li
2023-11-10 19:46:48 +08:00
parent 1f6e5627df
commit 7063e5e00b
2 changed files with 14 additions and 14 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*/ NextAction::array(0, new NextAction("flee"), nullptr));
// }
static ActionNode* raptor_strike([[maybe_unused]] PlayerbotAI* botAI)
{

View File

@@ -172,13 +172,13 @@ class GenericPriestStrategyActionNodeFactory : public NamedObjectFactory<ActionN
/*A*/ NextAction::array(0, new NextAction("fade"), NULL),
/*C*/ NULL);
}
static ActionNode* fade(PlayerbotAI* ai)
{
return new ActionNode ("fade",
/*P*/ NULL,
/*A*/ NextAction::array(0, new NextAction("flee"), NULL),
/*C*/ NULL);
}
// static ActionNode* fade(PlayerbotAI* ai)
// {
// return new ActionNode ("fade",
// /*P*/ NULL,
// /*A*/ NextAction::array(0, new NextAction("flee"), NULL),
// /*C*/ NULL);
// }
static ActionNode* shadowfiend(PlayerbotAI* ai)
{
return new ActionNode ("shadowfiend",