From 21ce849da7d900e5967faf710b39596e2e7e00fb Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Sun, 7 Jul 2024 13:32:26 +0800 Subject: [PATCH] [Command] Autogear command ammo --- src/strategy/actions/TrainerAction.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/strategy/actions/TrainerAction.cpp b/src/strategy/actions/TrainerAction.cpp index 2454e563..af1e7a7c 100644 --- a/src/strategy/actions/TrainerAction.cpp +++ b/src/strategy/actions/TrainerAction.cpp @@ -198,6 +198,7 @@ bool AutoGearAction::Execute(Event event) sPlayerbotAIConfig->autoGearQualityLimit, gs); factory.InitEquipment(true); + factory.InitAmmo(); if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) { factory.ApplyEnchantAndGemsNew(); }