mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
[Initialization] Ammo amount
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user