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