mage fireball

This commit is contained in:
Yunfan Li
2023-09-08 12:47:44 +08:00
parent 243a4df967
commit 0343ac5714

View File

@@ -25,9 +25,9 @@ class GenericMageStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
} }
private: private:
static ActionNode* fireball([[maybe_unused]] PlayerbotAI* botAI) static ActionNode* frostbolt([[maybe_unused]] PlayerbotAI* botAI)
{ {
return new ActionNode ("fireball", return new ActionNode ("frostbolt",
/*P*/ nullptr, /*P*/ nullptr,
/*A*/ NextAction::array(0, new NextAction("shoot"), nullptr), /*A*/ NextAction::array(0, new NextAction("shoot"), nullptr),
/*C*/ nullptr); /*C*/ nullptr);
@@ -112,9 +112,9 @@ class GenericMageStrategyActionNodeFactory : public NamedObjectFactory<ActionNod
/*A*/ NextAction::array(0, new NextAction("remove lesser curse on party"), nullptr), /*A*/ NextAction::array(0, new NextAction("remove lesser curse on party"), nullptr),
/*C*/ nullptr); /*C*/ nullptr);
} }
static ActionNode* firebolt([[maybe_unused]] PlayerbotAI* botAI) static ActionNode* fireball([[maybe_unused]] PlayerbotAI* botAI)
{ {
return new ActionNode ("firebolt", return new ActionNode ("fireball",
/*P*/ nullptr, /*P*/ nullptr,
/*A*/ NextAction::array(0, new NextAction("shoot"), nullptr), /*A*/ NextAction::array(0, new NextAction("shoot"), nullptr),
/*C*/ nullptr); /*C*/ nullptr);