Fix: Updated to work with newer commits of AzerothCore

This commit is contained in:
Revision
2024-07-22 00:39:06 +02:00
parent fedb6084e2
commit 838bfe333d
48 changed files with 241 additions and 239 deletions

View File

@@ -132,7 +132,7 @@ bool CheckMountStateAction::isUseful()
if (!GET_PLAYERBOT_AI(bot)->HasStrategy("mount", BOT_STATE_NON_COMBAT) && !bot->IsMounted())
return false;
bool firstmount = bot->getLevel() >= 20;
bool firstmount = bot->GetLevel() >= 20;
if (!firstmount)
return false;
@@ -197,7 +197,7 @@ bool CheckMountStateAction::Mount()
}
}
if (bot->GetPureSkillValue(SKILL_RIDING) <= 75 && bot->getLevel() < secondmount)
if (bot->GetPureSkillValue(SKILL_RIDING) <= 75 && bot->GetLevel() < secondmount)
masterSpeed = 59;
if (bot->InBattleground() && masterSpeed > 99)