More spell to stats calculation

This commit is contained in:
Yunfan Li
2024-08-11 22:22:16 +08:00
parent 52b9dec2cd
commit 03487f8314
7 changed files with 278 additions and 94 deletions

View File

@@ -1677,7 +1677,7 @@ bool PlayerbotAI::IsTank(Player* player)
switch (player->getClass())
{
case CLASS_DEATH_KNIGHT:
if (tab == DEATHKNIGT_TAB_BLOOD)
if (tab == DEATHKNIGHT_TAB_BLOOD)
{
return true;
}
@@ -1781,7 +1781,7 @@ bool PlayerbotAI::IsDps(Player* player)
}
break;
case CLASS_DEATH_KNIGHT:
if (tab != DEATHKNIGT_TAB_BLOOD)
if (tab != DEATHKNIGHT_TAB_BLOOD)
{
return true;
}