mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix: Updated to work with newer commits of AzerothCore
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user