fix(Scripts/Ulduar): Change the spellID for the Freya summoning treasure chest (#26483)

This commit is contained in:
隐如仙
2026-07-05 21:18:57 +08:00
committed by GitHub
parent 0ef916fdf5
commit 523bd83ad6
@@ -296,11 +296,12 @@ struct boss_freya : public BossAI
// Summon the chest via spell so it is a wild object not owned by Freya,
// otherwise it despawns with her when she teleports out. The spell is
// chosen by raid size and how many Elders empowered her.
// Order intentionally differs from TC/cMaNGOS to match AC's even/odd chest-loot grouping.
static constexpr uint32 summonChestSpell[2][4] =
{
// 0 Elder, 1 Elder, 2 Elder, 3 Elder
{ 62950, 62952, 62953, 62954 }, // 10-man
{ 62955, 62956, 62957, 62958 } // 25-man
{ 62957, 62955, 62953, 62950 }, // 10-man
{ 62958, 62956, 62954, 62952 } // 25-man
};
me->CastSpell(me, summonChestSpell[me->GetMap()->Is25ManRaid() ? 1 : 0][_elderCount], true);