mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-15 20:52:22 -04:00
Scripts: Fix rbac permission for skipping default boss sequencing check
This commit is contained in:
@@ -525,12 +525,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