Better performance

This commit is contained in:
Yunfan Li
2024-04-10 23:40:46 +08:00
parent 00a3436d77
commit 7cd74da201
4 changed files with 5 additions and 4 deletions

View File

@@ -1388,7 +1388,7 @@ bool PlayerbotAI::IsCombo(Player* player)
{
int tab = AiFactory::GetPlayerSpecTab(player);
return player->getClass() == CLASS_ROGUE ||
(player->getClass() == CLASS_DRUID && tab == DRUID_TAB_FERAL && !IsTank(bot));
(player->getClass() == CLASS_DRUID && player->HasAura(768)); // cat druid
}
bool PlayerbotAI::IsRangedDps(Player* player)