diff --git a/src/factory/PlayerbotFactory.cpp b/src/factory/PlayerbotFactory.cpp index d789bd21..585f2633 100644 --- a/src/factory/PlayerbotFactory.cpp +++ b/src/factory/PlayerbotFactory.cpp @@ -2346,6 +2346,9 @@ void PlayerbotFactory::UpdateTradeSkills() void PlayerbotFactory::InitSkills() { + //uint32 maxValue = level * 5; //not used, line marked for removal. + bot->UpdateSkillsForLevel(); + bot->SetSkill(SKILL_RIDING, 0, 0, 0); if (bot->GetLevel() >= sPlayerbotAIConfig->useGroundMountAtMinLevel) bot->learnSpell(33388);