[Command] Autogear command ammo

This commit is contained in:
Yunfan Li
2024-07-07 13:32:26 +08:00
parent 8ff016a67e
commit 21ce849da7

View File

@@ -198,6 +198,7 @@ bool AutoGearAction::Execute(Event event)
sPlayerbotAIConfig->autoGearQualityLimit, sPlayerbotAIConfig->autoGearQualityLimit,
gs); gs);
factory.InitEquipment(true); factory.InitEquipment(true);
factory.InitAmmo();
if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) { if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) {
factory.ApplyEnchantAndGemsNew(); factory.ApplyEnchantAndGemsNew();
} }