mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08:00
Disable talent initialzation for persistence random bot
This commit is contained in:
@@ -195,7 +195,9 @@ void PlayerbotFactory::Randomize(bool incremental)
|
|||||||
|
|
||||||
pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_Talents");
|
pmo = sPerformanceMonitor->start(PERF_MON_RNDBOT, "PlayerbotFactory_Talents");
|
||||||
LOG_INFO("playerbots", "Initializing talents...");
|
LOG_INFO("playerbots", "Initializing talents...");
|
||||||
InitTalentsTree();
|
if (!sPlayerbotAIConfig->equipmentPersistence || bot->GetLevel() < sPlayerbotAIConfig->equipmentPersistenceLevel) {
|
||||||
|
InitTalentsTree();
|
||||||
|
}
|
||||||
sRandomPlayerbotMgr->SetValue(bot->GetGUID().GetCounter(), "specNo", 0);
|
sRandomPlayerbotMgr->SetValue(bot->GetGUID().GetCounter(), "specNo", 0);
|
||||||
if (botAI) {
|
if (botAI) {
|
||||||
sPlayerbotDbStore->Reset(botAI);
|
sPlayerbotDbStore->Reset(botAI);
|
||||||
|
|||||||
Reference in New Issue
Block a user