Scenario: naxx_kelthuzad lands the raid in the middle round him

The ring search put the raid 40 y out (3707,-5104), within reach of
an alcove's resting Soldiers of the Frozen Wastes. They were pulled
3 s into phase 1, and their Dark Blast killed 33 raiders by 12 s
(naxx_kelthuzad 1114c). A Classic raid stands in the middle round
him, away from the alcoves, and takes the adds as he sends them.

A scenario can now name a fixed landing spot, path-checked like a
checkpoint's staging spot. Kel'Thuzad's is 10 y from him on his
floor: he is immune and passive until phase 2.
This commit is contained in:
Karrz1
2026-11-14 19:45:56 +00:00
parent b229ed9713
commit 2ab271af1d
2 changed files with 12 additions and 0 deletions
@@ -84,6 +84,9 @@ struct ScenarioDef
// The raid lands at least this far from that creature (0 = the default 40 y). A boss that aggroes on sight (Onyxia: 58 y) is not held, so a
// landing inside its reach starts the fight on whoever stands nearest instead of on the tank walking in (onyxia_full n6, 2026-10-14).
float arrive_min_yards = 0.f;
// A fixed landing spot instead of the ring search (z != 0), path-checked to the creature once, as a checkpoint's staging spot: a room
// whose own corners are the danger (Kel'Thuzad's alcoves full of phase 1 adds that a raid on the rings walks into).
float stage_x = 0.f, stage_y = 0.f, stage_z = 0.f;
// The school the squad gears resistance for, as a vanilla raid dressed for the fight (nature for Princess Huhuran); 0 = none. Every
// armour and jewellery slot takes the piece with the most of it under the tier's item level (GearGenerationContext::resist_school).
std::uint8_t resist_school = 0;
@@ -726,6 +729,10 @@ inline ScenarioDef MakeNaxxKelThuzadScenario()
ScenarioDef d = MakeRaidScenario(kKt, kNaxxEntrance, RaidSquad(kMcRaid, sizeof(kMcRaid) / sizeof(kMcRaid[0])));
d.start_npc = 15990;
d.start_npc_action = 1; // CLASSIC_NAXX_ACTION_KT_START
// The raid stands in the middle round him, as in Classic, away from the alcoves: placed by the ring search 40 y out (3707,-5104), it
// stood within reach of an alcove's resting Soldiers, pulled them at 3 s and lost 33 raiders to their Dark Blast by 12 s
// (naxx_kelthuzad 1114c). He is immune and passive in phase 1, so 10 y from him is safe; same floor (z 142).
d.stage_x = 3736.4f; d.stage_y = -5113.4f; d.stage_z = 142.0f;
d.goal_wait_ms = 8u * 60u * 1000u; // phase 2 opens 5:35 after the start
return d;
}
@@ -2982,6 +2982,11 @@ bool BeginScenario(std::string const& full_name, int slot, std::string& error)
run.has_stage = true;
run.stage_x = cp->stage_x; run.stage_y = cp->stage_y; run.stage_z = cp->stage_z;
}
else if (!cp && def->stage_z != 0.f)
{
run.has_stage = true;
run.stage_x = def->stage_x; run.stage_y = def->stage_y; run.stage_z = def->stage_z;
}
run.from_key = from_key;
if (run.arrive_entry && !FindBossSpawn(run))
{