mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 17:09:08 +00:00
Item use check
This commit is contained in:
@@ -1329,7 +1329,10 @@ void RandomPlayerbotMgr::Randomize(Player* bot)
|
||||
RandomizeFirst(bot);
|
||||
}
|
||||
else if (bot->getLevel() < sPlayerbotAIConfig->randomBotMaxLevel || !sPlayerbotAIConfig->downgradeMaxLevelBot) {
|
||||
IncreaseLevel(bot);
|
||||
uint8 level = bot->getLevel();
|
||||
PlayerbotFactory factory(bot, level);
|
||||
factory.Randomize(true);
|
||||
// IncreaseLevel(bot);
|
||||
}
|
||||
else {
|
||||
RandomizeFirst(bot);
|
||||
|
||||
Reference in New Issue
Block a user