mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-20 18:10:02 +01:00
Disable talent initialzation for persistence random bot
This commit is contained in:
parent
0b105e70d7
commit
21e9e2e2aa
@ -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);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user