Init glyphs for maintenance

This commit is contained in:
Yunfan Li
2024-03-30 00:38:38 +08:00
parent fefb2b0037
commit b7997f5a08
3 changed files with 4 additions and 1 deletions

View File

@@ -129,7 +129,7 @@ class PlayerbotFactory
void InitPetTalents();
void InitReagents();
void InitGlyphs();
void InitGlyphs(bool increment = false);
void InitFood();
void InitMounts();
void InitBags(bool destroyOld = true);

View File

@@ -165,6 +165,7 @@ bool MaintenanceAction::Execute(Event event)
factory.InitAvailableSpells();
factory.InitSkills();
factory.InitMounts();
factory.InitGlyphs(true);
if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) {
factory.ApplyEnchantAndGemsNew();
}