Spellcooldown and instance refresh on randomize

This commit is contained in:
Yunfan Li
2024-09-07 11:52:29 +08:00
parent 9d7a300c6d
commit d3f380d04b

View File

@@ -207,7 +207,8 @@ void PlayerbotFactory::Randomize(bool incremental)
{
ClearAllItems();
}
// bot->SaveToDB(false, false);
bot->RemoveAllSpellCooldown();
UnbindInstance();
bot->GiveLevel(level);
bot->InitStatsForLevel();