diff --git a/src/Ai/Class/Mage/Action/MageActions.cpp b/src/Ai/Class/Mage/Action/MageActions.cpp index 5eb63ea86..63ba0d9d5 100644 --- a/src/Ai/Class/Mage/Action/MageActions.cpp +++ b/src/Ai/Class/Mage/Action/MageActions.cpp @@ -11,8 +11,6 @@ #include "ServerFacade.h" #include "SharedDefines.h" -Value* CastPolymorphAction::GetTargetValue() { return context->GetValue("cc target", getName()); } - bool UseManaSapphireAction::isUseful() { Player* bot = botAI->GetBot(); diff --git a/src/Ai/Class/Mage/Action/MageActions.h b/src/Ai/Class/Mage/Action/MageActions.h index 39d1531a7..abd302052 100644 --- a/src/Ai/Class/Mage/Action/MageActions.h +++ b/src/Ai/Class/Mage/Action/MageActions.h @@ -215,11 +215,10 @@ public: // CC, Interrupt, and Dispel Actions -class CastPolymorphAction : public CastBuffSpellAction +class CastPolymorphAction : public CastCrowdControlSpellAction { public: - CastPolymorphAction(PlayerbotAI* botAI) : CastBuffSpellAction(botAI, "polymorph") {} - Value* GetTargetValue() override; + CastPolymorphAction(PlayerbotAI* botAI) : CastCrowdControlSpellAction(botAI, "polymorph") {} }; class CastSpellstealAction : public CastSpellAction