SaveToDB in randomize

This commit is contained in:
Yunfan Li
2024-08-20 00:19:50 +08:00
parent 5a576cd9a5
commit 6d9aba4066
2 changed files with 3 additions and 3 deletions

View File

@@ -405,7 +405,7 @@ void PlayerbotFactory::Randomize(bool incremental)
bot->SetMoney(urand(level * 100000, level * 5 * 100000));
bot->SetHealth(bot->GetMaxHealth());
bot->SetPower(POWER_MANA, bot->GetMaxPower(POWER_MANA));
// bot->SaveToDB(false, false);
bot->SaveToDB(false, false);
LOG_INFO("playerbots", "Initialization Done.");
if (pmo)
pmo->finish();