diff --git a/src/RandomPlayerbotMgr.cpp b/src/RandomPlayerbotMgr.cpp index e6704884..2655052c 100644 --- a/src/RandomPlayerbotMgr.cpp +++ b/src/RandomPlayerbotMgr.cpp @@ -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) diff --git a/src/strategy/actions/AutoLearnSpellAction.cpp b/src/strategy/actions/AutoLearnSpellAction.cpp index e75945f6..4415eb5d 100644 --- a/src/strategy/actions/AutoLearnSpellAction.cpp +++ b/src/strategy/actions/AutoLearnSpellAction.cpp @@ -210,7 +210,7 @@ bool AutoUpgradeEquipAction::Execute(Event event) { return false; } - PlayerbotFactory factory(bot, bot->GetLevel(), ITEM_QUALITY_RARE); + PlayerbotFactory factory(bot, bot->GetLevel()); if (!sPlayerbotAIConfig->equipmentPersistence || bot->GetLevel() < sPlayerbotAIConfig->equipmentPersistenceLevel) { factory.InitEquipment(true);