mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-13 00:58:33 +00:00
debuff trigger and action, allow multiple spell
This commit is contained in:
@@ -430,7 +430,7 @@ void PlayerbotHolder::OnBotLogin(Player* const bot)
|
||||
uint32 accountId = bot->GetSession()->GetAccountId();
|
||||
bool isRandomAccount = sPlayerbotAIConfig->IsInRandomAccountList(accountId);
|
||||
|
||||
if (master && isRandomAccount) {
|
||||
if (master && isRandomAccount && master->GetLevel() < bot->GetLevel()) {
|
||||
PlayerbotFactory factory(bot, master->getLevel());
|
||||
factory.Randomize(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user