mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
[Command] Autogear command ammo
This commit is contained in:
parent
8ff016a67e
commit
21ce849da7
@ -198,6 +198,7 @@ bool AutoGearAction::Execute(Event event)
|
||||
sPlayerbotAIConfig->autoGearQualityLimit,
|
||||
gs);
|
||||
factory.InitEquipment(true);
|
||||
factory.InitAmmo();
|
||||
if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) {
|
||||
factory.ApplyEnchantAndGemsNew();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user