mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-24 14:06:22 +00:00
Spellcooldown and instance refresh on randomize
This commit is contained in:
@@ -207,7 +207,8 @@ void PlayerbotFactory::Randomize(bool incremental)
|
|||||||
{
|
{
|
||||||
ClearAllItems();
|
ClearAllItems();
|
||||||
}
|
}
|
||||||
// bot->SaveToDB(false, false);
|
bot->RemoveAllSpellCooldown();
|
||||||
|
UnbindInstance();
|
||||||
|
|
||||||
bot->GiveLevel(level);
|
bot->GiveLevel(level);
|
||||||
bot->InitStatsForLevel();
|
bot->InitStatsForLevel();
|
||||||
|
|||||||
Reference in New Issue
Block a user