Scripts: Fix rbac permission for skipping default boss sequencing check
(cherry picked from commit e660c8bc19198d9e2e912c5243498469f75b0ee6)
This commit is contained in:
@@ -529,12 +529,12 @@ void BossAI::_JustReachedHome()
|
||||
me->setActive(false);
|
||||
}
|
||||
|
||||
void BossAI::_JustEngagedWith()
|
||||
void BossAI::_JustEngagedWith(Unit* who)
|
||||
{
|
||||
if (instance)
|
||||
{
|
||||
// bosses do not respawn, check only on enter combat
|
||||
if (!instance->CheckRequiredBosses(_bossId))
|
||||
if (!instance->CheckRequiredBosses(_bossId, who->ToPlayer()))
|
||||
{
|
||||
EnterEvadeMode(EVADE_REASON_SEQUENCE_BREAK);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user