mirror of
https://gitcode.com/GitHub_Trending/az/azerothcore-wotlk.git
synced 2026-07-10 19:03:11 +00:00
fix(Scripts/Ulduar): Change the spellID for the Freya summoning treasure chest (#26483)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user