Skip to content

Commit

Permalink
Fix feral dps druids reacting to the @Tank filter
Browse files Browse the repository at this point in the history
  • Loading branch information
davidonete committed Aug 9, 2023
1 parent b2f89a5 commit e593afe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playerbot/AiFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ BotRoles AiFactory::GetPlayerRoles(Player* player)
}
else if (tab == 1)
{
role = (BotRoles)(BOT_ROLE_TANK | BOT_ROLE_DPS);
role = BOT_ROLE_DPS;
}
else if (tab == 2)
{
Expand Down
2 changes: 1 addition & 1 deletion playerbot/strategy/druid/TankFeralDruidStrategy.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ namespace ai
{
public:
TankFeralDruidPlaceholderStrategy(PlayerbotAI* ai) : SpecPlaceholderStrategy(ai) {}
int GetType() override { return STRATEGY_TYPE_HEAL | STRATEGY_TYPE_RANGED; }
int GetType() override { return STRATEGY_TYPE_TANK | STRATEGY_TYPE_MELEE; }
string getName() override { return "tank feral"; }
};

Expand Down

0 comments on commit e593afe

Please sign in to comment.