From 03aa2393ca79233f511ad60227034e63f2f66547 Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Fri, 23 Jun 2023 13:37:21 +0800 Subject: [PATCH] temporary disable bot factory enchant --- src/PlayerbotFactory.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/PlayerbotFactory.cpp b/src/PlayerbotFactory.cpp index 68b36ac5..bf764f61 100644 --- a/src/PlayerbotFactory.cpp +++ b/src/PlayerbotFactory.cpp @@ -284,14 +284,14 @@ void PlayerbotFactory::Randomize(bool incremental) if (pmo) pmo->finish(); - if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) - { - pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_EnchantTemplate"); - LOG_INFO("playerbots", "Initializing enchant templates..."); - ApplyEnchantTemplate(); - if (pmo) - pmo->finish(); - } + // if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) + // { + // pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_EnchantTemplate"); + // LOG_INFO("playerbots", "Initializing enchant templates..."); + // ApplyEnchantTemplate(); + // if (pmo) + // pmo->finish(); + // } pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_Inventory"); LOG_INFO("playerbots", "Initializing inventory...");