fix(Scripts/Ulduar): Add Mimiron elevator knockback (#26450)

Co-authored-by: Unholychick <lucas__jensen@hotmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Andrew
2026-07-04 17:40:13 -03:00
committed by GitHub
parent b42ffa5cdd
commit 7e8ebca4a1
@@ -47,6 +47,9 @@ enum SpellData
SPELL_MINE_EXPLOSION = 66351,
SPELL_SUMMON_PROXIMITY_MINE = 65347,
// PHASE 1 -> 2 TRANSITION:
SPELL_ELEVATOR_KNOCKBACK = 65096, // Self-cast by the world trigger; sweeps players off the elevator as it rises
// PHASE 2:
SPELL_HEAT_WAVE = 64533,
@@ -98,6 +101,7 @@ enum NPCs
NPC_ASSAULT_BOT = 34057,
NPC_JUNK_BOT = 33855,
NPC_MAGNETIC_CORE = 34068,
NPC_WORLD_TRIGGER = 21252,
};
enum GOs
@@ -488,6 +492,8 @@ struct boss_mimiron : public BossAI
elevator->SetLootState(GO_READY);
elevator->UseDoorOrButton(0, false);
elevator->EnableCollision(false);
if (Creature* trigger = me->SummonCreature(NPC_WORLD_TRIGGER, elevator->GetPositionX(), elevator->GetPositionY(), elevator->GetPositionZ(), 0.0f, TEMPSUMMON_TIMED_DESPAWN, 5000))
trigger->CastSpell(trigger, SPELL_ELEVATOR_KNOCKBACK);
}
events.ScheduleEvent(EVENT_ELEVATOR_INTERVAL_1, 6s);
break;