diff --git a/src/Ai/Class/Paladin/Strategy/DpsPaladinStrategy.cpp b/src/Ai/Class/Paladin/Strategy/DpsPaladinStrategy.cpp index 185fb72d7..fc6ae92a0 100644 --- a/src/Ai/Class/Paladin/Strategy/DpsPaladinStrategy.cpp +++ b/src/Ai/Class/Paladin/Strategy/DpsPaladinStrategy.cpp @@ -15,9 +15,6 @@ public: { creators["sanctity aura"] = &sanctity_aura; creators["retribution aura"] = &retribution_aura; - creators["seal of corruption"] = &seal_of_corruption; - creators["seal of vengeance"] = &seal_of_vengeance; - creators["seal of command"] = &seal_of_command; creators["blessing of might"] = &blessing_of_might; creators["crusader strike"] = &crusader_strike; creators["repentance"] = &repentance; @@ -27,36 +24,6 @@ public: } private: - static ActionNode* seal_of_corruption([[maybe_unused]] PlayerbotAI* botAI) - { - return new ActionNode( - "seal of corruption", - /*P*/ {}, - /*A*/ { NextAction("seal of vengeance") }, - /*C*/ {} - ); - } - - static ActionNode* seal_of_vengeance([[maybe_unused]] PlayerbotAI* botAI) - { - return new ActionNode( - "seal of vengeance", - /*P*/ {}, - /*A*/ { NextAction("seal of command") }, - /*C*/ {} - ); - } - - static ActionNode* seal_of_command([[maybe_unused]] PlayerbotAI* botAI) - { - return new ActionNode( - "seal of command", - /*P*/ {}, - /*A*/ { NextAction("seal of righteousness") }, - /*C*/ {} - ); - } - static ActionNode* blessing_of_might([[maybe_unused]] PlayerbotAI* botAI) { return new ActionNode( diff --git a/src/Ai/Class/Paladin/Strategy/GenericPaladinStrategyActionNodeFactory.h b/src/Ai/Class/Paladin/Strategy/GenericPaladinStrategyActionNodeFactory.h index f1d0d342e..1ac76dbd2 100644 --- a/src/Ai/Class/Paladin/Strategy/GenericPaladinStrategyActionNodeFactory.h +++ b/src/Ai/Class/Paladin/Strategy/GenericPaladinStrategyActionNodeFactory.h @@ -22,6 +22,9 @@ public: creators["cleanse magic"] = &cleanse_magic; creators["cleanse poison on party"] = &cleanse_poison_on_party; creators["cleanse disease on party"] = &cleanse_disease_on_party; + creators["seal of corruption"] = &seal_of_corruption; + creators["seal of vengeance"] = &seal_of_vengeance; + creators["seal of command"] = &seal_of_command; creators["seal of wisdom"] = &seal_of_wisdom; creators["seal of justice"] = &seal_of_justice; creators["hand of reckoning"] = &hand_of_reckoning; @@ -41,7 +44,6 @@ public: creators["blessing of wisdom on party"] = &blessing_of_wisdom_on_party; creators["blessing of sanctuary on party"] = &blessing_of_sanctuary_on_party; creators["blessing of sanctuary"] = &blessing_of_sanctuary; - creators["seal of command"] = &seal_of_command; creators["taunt spell"] = &hand_of_reckoning; creators["righteous defense"] = &righteous_defense; creators["avenger's shield"] = &avengers_shield; @@ -155,18 +157,39 @@ private: /*A*/ { NextAction("purify disease on party") }, /*C*/ {}); } + static ActionNode* seal_of_corruption(PlayerbotAI* /* ai */) + { + return new ActionNode("seal of corruption", + /*P*/ {}, + /*A*/ { NextAction("seal of vengeance") }, + /*C*/ {}); + } + static ActionNode* seal_of_vengeance(PlayerbotAI* /* ai */) + { + return new ActionNode("seal of vengeance", + /*P*/ {}, + /*A*/ { NextAction("seal of command") }, + /*C*/ {}); + } + static ActionNode* seal_of_command(PlayerbotAI* /* ai */) + { + return new ActionNode("seal of command", + /*P*/ {}, + /*A*/ { NextAction("seal of righteousness") }, + /*C*/ {}); + } static ActionNode* seal_of_wisdom(PlayerbotAI* /* ai */) { return new ActionNode ("seal of wisdom", /*P*/ {}, - /*A*/ { NextAction("seal of righteousness") }, + /*A*/ { NextAction("seal of corruption") }, /*C*/ {}); } static ActionNode* seal_of_justice(PlayerbotAI* /* ai */) { return new ActionNode("seal of justice", /*P*/ {}, - /*A*/ { NextAction("seal of righteousness") }, + /*A*/ { NextAction("seal of corruption") }, /*C*/ {}); } static ActionNode* hand_of_reckoning(PlayerbotAI* /* ai */) @@ -246,13 +269,6 @@ private: /*A*/ {}, /*C*/ {}); } - static ActionNode* seal_of_command(PlayerbotAI* /* ai */) - { - return new ActionNode("seal of command", - /*P*/ {}, - /*A*/ { NextAction("seal of righteousness") }, - /*C*/ {}); - } }; #endif diff --git a/src/Ai/Class/Paladin/Strategy/HealPaladinStrategy.cpp b/src/Ai/Class/Paladin/Strategy/HealPaladinStrategy.cpp index 5eb1a3acc..fa7a08621 100644 --- a/src/Ai/Class/Paladin/Strategy/HealPaladinStrategy.cpp +++ b/src/Ai/Class/Paladin/Strategy/HealPaladinStrategy.cpp @@ -30,7 +30,7 @@ void HealPaladinStrategy::InitTriggers(std::vector& triggers) new TriggerNode( "seal", { - NextAction("seal of wisdom", ACTION_HIGH) + NextAction("seal of wisdom", ACTION_HIGH), } ) );