temporary disable bot factory enchant

This commit is contained in:
Yunfan Li
2023-06-23 13:37:21 +08:00
parent bf6b8db4e2
commit 03aa2393ca

View File

@@ -284,14 +284,14 @@ void PlayerbotFactory::Randomize(bool incremental)
if (pmo) if (pmo)
pmo->finish(); pmo->finish();
if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel) // if (bot->getLevel() >= sPlayerbotAIConfig->minEnchantingBotLevel)
{ // {
pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_EnchantTemplate"); // pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_EnchantTemplate");
LOG_INFO("playerbots", "Initializing enchant templates..."); // LOG_INFO("playerbots", "Initializing enchant templates...");
ApplyEnchantTemplate(); // ApplyEnchantTemplate();
if (pmo) // if (pmo)
pmo->finish(); // pmo->finish();
} // }
pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_Inventory"); pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_Inventory");
LOG_INFO("playerbots", "Initializing inventory..."); LOG_INFO("playerbots", "Initializing inventory...");