diff --git a/src/strategy/rogue/RogueActions.cpp b/src/strategy/rogue/RogueActions.cpp index 99ffcc64..e0ece34c 100644 --- a/src/strategy/rogue/RogueActions.cpp +++ b/src/strategy/rogue/RogueActions.cpp @@ -14,16 +14,6 @@ bool CastStealthAction::isPossible() return !botAI->HasAura(23333, bot) && !botAI->HasAura(23335, bot) && !botAI->HasAura(34976, bot); } -bool CastStealthAction::Execute(Event event) -{ - if (botAI->CastSpell("stealth", bot)) - { - // botAI->ChangeStrategy("-dps,+stealthed", BOT_STATE_COMBAT); - } - - return true; -} - bool UnstealthAction::Execute(Event event) { botAI->RemoveAura("stealth"); diff --git a/src/strategy/rogue/RogueActions.h b/src/strategy/rogue/RogueActions.h index 21b5ed57..3087f744 100644 --- a/src/strategy/rogue/RogueActions.h +++ b/src/strategy/rogue/RogueActions.h @@ -32,7 +32,6 @@ class CastStealthAction : public CastBuffSpellAction std::string const GetTargetName() override { return "self target"; } bool isPossible() override; - bool Execute(Event event) override; }; class UnstealthAction : public Action