mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-18 19:25:44 +00:00
Merge branch 'master' into self-command
This commit is contained in:
@@ -168,7 +168,7 @@ bool MaintenanceAction::Execute(Event event)
|
||||
factory.InitSkills();
|
||||
factory.InitMounts();
|
||||
factory.InitGlyphs(true);
|
||||
if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) {
|
||||
if (bot->GetLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) {
|
||||
factory.ApplyEnchantAndGemsNew();
|
||||
}
|
||||
bot->DurabilityRepairAll(false, 1.0f, false);
|
||||
@@ -201,7 +201,7 @@ bool AutoGearAction::Execute(Event event)
|
||||
gs);
|
||||
factory.InitEquipment(true);
|
||||
factory.InitAmmo();
|
||||
if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) {
|
||||
if (bot->GetLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) {
|
||||
factory.ApplyEnchantAndGemsNew();
|
||||
}
|
||||
bot->DurabilityRepairAll(false, 1.0f, false);
|
||||
|
||||
Reference in New Issue
Block a user