mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-10-10 07:06:38 +08:00
fix(Scripts/Ulduar): Fix Mimiron Phase 3 add summon delay after Magnetic Core recovery (#27438)
This commit is contained in:
@@ -1626,7 +1626,7 @@ struct npc_ulduar_aerial_command_unit : public ScriptedAI
|
||||
me->RemoveUnitMovementFlag(MOVEMENTFLAG_HOVER);
|
||||
me->GetMotionMaster()->MoveFall();
|
||||
me->SetHover(false);
|
||||
_events.DelayEvents(25s);
|
||||
_events.DelayEvents(23s);
|
||||
break;
|
||||
case DO_ENABLE_AERIAL:
|
||||
if (_isDefeated)
|
||||
@@ -1698,7 +1698,7 @@ struct npc_ulduar_aerial_command_unit : public ScriptedAI
|
||||
|
||||
void UpdateAI(uint32 diff) override
|
||||
{
|
||||
if (me->HasUnitFlag(UNIT_FLAG_NOT_SELECTABLE) || me->HasAura(SPELL_MAGNETIC_CORE))
|
||||
if (me->HasUnitFlag(UNIT_FLAG_NOT_SELECTABLE))
|
||||
return;
|
||||
|
||||
if (!UpdateVictim())
|
||||
@@ -1741,6 +1741,7 @@ struct npc_ulduar_aerial_command_unit : public ScriptedAI
|
||||
break;
|
||||
}
|
||||
|
||||
if (!me->HasAura(SPELL_MAGNETIC_CORE))
|
||||
DoSpellAttackIfReady(_phase == 3 ? SPELL_PLASMA_BALL_P1 : SPELL_PLASMA_BALL_P2);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user