mirror of
https://github.com/mod-playerbots/mod-playerbots
synced 2025-11-29 15:58:20 +08: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