mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-02-21 02:20:00 +01:00
Spellcooldown and instance refresh on randomize
This commit is contained in:
parent
9d7a300c6d
commit
d3f380d04b
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user