[Initialization] Ammo amount

This commit is contained in:
Yunfan Li 2024-06-28 20:26:41 +08:00
parent 4661715fca
commit b9b4362bdd

View File

@ -2515,7 +2515,7 @@ void PlayerbotFactory::InitAmmo()
if (count < maxCount / 2) if (count < maxCount / 2)
{ {
if (Item* newItem = StoreNewItemInInventorySlot(bot, entry, maxCount)) { if (Item* newItem = StoreNewItemInInventorySlot(bot, entry, maxCount / 2)) {
newItem->AddToUpdateQueueOf(bot); newItem->AddToUpdateQueueOf(bot);
} }
} }