mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
fix(Core/WorldState): Start boss activation event when starting Scourge Invasion. (#22739)
This commit is contained in:
@@ -1312,6 +1312,8 @@ void WorldState::StartScourgeInvasion(bool sendMail)
|
|||||||
Acore::Containers::RandomShuffle(randomIds);
|
Acore::Containers::RandomShuffle(randomIds);
|
||||||
for (uint32 id : randomIds)
|
for (uint32 id : randomIds)
|
||||||
OnEnable(m_siData.m_activeInvasions[id]);
|
OnEnable(m_siData.m_activeInvasions[id]);
|
||||||
|
|
||||||
|
sGameEventMgr->StartEvent(GAME_EVENT_SCOURGE_INVASION_BOSSES);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -65,6 +65,7 @@ enum WorldStateGameEvents
|
|||||||
{
|
{
|
||||||
// Scourge Invasion
|
// Scourge Invasion
|
||||||
GAME_EVENT_SCOURGE_INVASION = 17,
|
GAME_EVENT_SCOURGE_INVASION = 17,
|
||||||
|
GAME_EVENT_SCOURGE_INVASION_BOSSES = 120,
|
||||||
GAME_EVENT_SCOURGE_INVASION_WINTERSPRING = 121,
|
GAME_EVENT_SCOURGE_INVASION_WINTERSPRING = 121,
|
||||||
GAME_EVENT_SCOURGE_INVASION_TANARIS = 122,
|
GAME_EVENT_SCOURGE_INVASION_TANARIS = 122,
|
||||||
GAME_EVENT_SCOURGE_INVASION_AZSHARA = 123,
|
GAME_EVENT_SCOURGE_INVASION_AZSHARA = 123,
|
||||||
|
|||||||
Reference in New Issue
Block a user