fix(Core/WorldState): Start boss activation event when starting Scourge Invasion. (#22739)

This commit is contained in:
Benjamin Jackson
2025-08-28 12:34:45 -04:00
committed by GitHub
parent 36138dccb7
commit e39333abcb
2 changed files with 3 additions and 0 deletions

View File

@@ -1312,6 +1312,8 @@ void WorldState::StartScourgeInvasion(bool sendMail)
Acore::Containers::RandomShuffle(randomIds);
for (uint32 id : randomIds)
OnEnable(m_siData.m_activeInvasions[id]);
sGameEventMgr->StartEvent(GAME_EVENT_SCOURGE_INVASION_BOSSES);
}
}

View File

@@ -65,6 +65,7 @@ enum WorldStateGameEvents
{
// Scourge Invasion
GAME_EVENT_SCOURGE_INVASION = 17,
GAME_EVENT_SCOURGE_INVASION_BOSSES = 120,
GAME_EVENT_SCOURGE_INVASION_WINTERSPRING = 121,
GAME_EVENT_SCOURGE_INVASION_TANARIS = 122,
GAME_EVENT_SCOURGE_INVASION_AZSHARA = 123,