mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Fix gear quality issue for random bots
This commit is contained in:
@@ -1815,8 +1815,7 @@ void RandomPlayerbotMgr::Refresh(Player* bot)
|
||||
bot->DurabilityRepairAll(false, 1.0f, false);
|
||||
bot->SetFullHealth();
|
||||
bot->SetPvP(true);
|
||||
|
||||
PlayerbotFactory factory(bot, bot->GetLevel(), ITEM_QUALITY_RARE);
|
||||
PlayerbotFactory factory(bot, bot->GetLevel());
|
||||
factory.Refresh();
|
||||
|
||||
if (bot->GetMaxPower(POWER_MANA) > 0)
|
||||
|
||||
Reference in New Issue
Block a user