This commit is contained in:
Yunfan Li
2023-09-03 14:36:40 +08:00
parent 50a2be40f7
commit 0be6cc11aa
5 changed files with 14 additions and 11 deletions

View File

@@ -1221,9 +1221,9 @@ void PlayerbotFactory::InitEquipment(bool incremental)
items[slot].push_back(itemId);
}
}
if (items[slot].size() >= 10) break;
if (items[slot].size() >= 25) break;
}
} while (items[slot].size() < 10 && desiredQuality-- > ITEM_QUALITY_NORMAL);
} while (items[slot].size() < 25 && desiredQuality-- > ITEM_QUALITY_NORMAL);
}
for (uint8 slot = 0; slot < EQUIPMENT_SLOT_END; ++slot)