fix(Scripts/TempleOfAhnQiraj): Fix Vem enrage (#18652)
Fix Vem enrage Vem should enrage when it is the last bug alive (Regression from last refactor)
This commit is contained in:
parent
146f5a64ad
commit
c80ad3d779
1 changed files with 8 additions and 0 deletions
|
|
@ -390,6 +390,14 @@ struct boss_vem : public boss_bug_trio
|
|||
{
|
||||
DoCastVictim(SPELL_KNOCKDOWN);
|
||||
context.Repeat();
|
||||
})
|
||||
.Schedule(1s, [this](TaskContext context)
|
||||
{
|
||||
if (instance->GetData(DATA_BUG_TRIO_DEATH) == 2 && !me->HasAura(SPELL_VENGEANCE)) // Vem is the only one left.
|
||||
{
|
||||
DoCastSelf(SPELL_VENGEANCE, true);
|
||||
}
|
||||
context.Repeat(1s);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue