fix(Scripts/Naxxramas): dying to Poison Cloud OOC doesn't fail immortal (#27161)
This commit is contained in:
parent
60e05dda32
commit
9035b9a587
1 changed files with 1 additions and 1 deletions
|
|
@ -189,7 +189,7 @@ public:
|
|||
|
||||
void KilledUnit(Unit* who) override
|
||||
{
|
||||
if (who->IsPlayer())
|
||||
if (who->IsPlayer() && me->GetInstanceScript()->GetBossState(BOSS_GROBBULUS) == IN_PROGRESS)
|
||||
me->GetInstanceScript()->StorePersistentData(PERSISTENT_DATA_IMMORTAL_FAIL, 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue