fix(Scripts/Nexus): Magus Telestra death (#21744)
Co-authored-by: Hexadecimal <hexa@deci.mal>
This commit is contained in:
parent
1707832e7a
commit
7aced2f62e
1 changed files with 4 additions and 0 deletions
|
|
@ -94,6 +94,8 @@ struct boss_magus_telestra : public BossAI
|
|||
|
||||
if (IsHeroic() && sGameEventMgr->IsActiveEvent(GAME_EVENT_WINTER_VEIL) && !me->HasAura(SPELL_WEAR_CHRISTMAS_HAT))
|
||||
me->AddAura(SPELL_WEAR_CHRISTMAS_HAT, me);
|
||||
|
||||
SetInvincibility(false);
|
||||
}
|
||||
|
||||
uint32 GetData(uint32 data) const override
|
||||
|
|
@ -184,6 +186,7 @@ struct boss_magus_telestra : public BossAI
|
|||
case EVENT_MAGUS_HEALTH2:
|
||||
if (me->HealthBelowPct(11))
|
||||
{
|
||||
SetInvincibility(true);
|
||||
me->CastSpell(me, SPELL_START_SUMMON_CLONES, false);
|
||||
events.ScheduleEvent(EVENT_MAGUS_RELOCATE, 3500ms);
|
||||
Talk(SAY_SPLIT);
|
||||
|
|
@ -214,6 +217,7 @@ struct boss_magus_telestra : public BossAI
|
|||
me->CastSpell(me, SPELL_TELESTRA_BACK, true);
|
||||
me->RemoveAllAuras();
|
||||
Talk(SAY_MERGE);
|
||||
SetInvincibility(false);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue