From b9b4362bdd90cd52adf5364ec50872ad8c152ae2 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Fri, 28 Jun 2024 20:26:41 +0800 Subject: [PATCH] [Initialization] Ammo amount --- src/PlayerbotFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PlayerbotFactory.cpp b/src/PlayerbotFactory.cpp index 10fc482b..69efb9f6 100644 --- a/src/PlayerbotFactory.cpp +++ b/src/PlayerbotFactory.cpp @@ -2515,7 +2515,7 @@ void PlayerbotFactory::InitAmmo() if (count < maxCount / 2) { - if (Item* newItem = StoreNewItemInInventorySlot(bot, entry, maxCount)) { + if (Item* newItem = StoreNewItemInInventorySlot(bot, entry, maxCount / 2)) { newItem->AddToUpdateQueueOf(bot); } }