aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-09-27 16:17:43 +0200
committerShauren <shauren.trinity@gmail.com>2022-09-30 20:50:39 +0200
commitfffe02db2cf94d62fa16b788844c863c554767f8 (patch)
tree2d520aa88fece30a6fc725b4f9b0074ba2255dbc
parent7f72fa2f8ec59727953eff35da39e11e0c37a3c5 (diff)
Scripts/Halls of Reflection: Prevent repeating Falric kills after wiping on Marwyn or add waves > 5
(cherry picked from commit 7114bc6881701798fa32947d8275686dcd258d19)
-rw-r--r--src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp
index eb92cff9851..ab46d266aa1 100644
--- a/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp
+++ b/src/server/scripts/Northrend/FrozenHalls/HallsOfReflection/instance_halls_of_reflection.cpp
@@ -530,7 +530,7 @@ class instance_halls_of_reflection : public InstanceMapScript
{
// spawning all wave npcs at once
case EVENT_SPAWN_WAVES:
- _waveCount = 1;
+ _waveCount = GetBossState(DATA_FALRIC) == DONE ? 6 : 1;
DoUpdateWorldState(WORLD_STATE_HOR_WAVES_ENABLED, 1);
DoUpdateWorldState(WORLD_STATE_HOR_WAVE_COUNT, _waveCount);
{
@@ -544,7 +544,7 @@ class instance_halls_of_reflection : public InstanceMapScript
possibilityList.push_back(NPC_WAVE_MAGE);
// iterate each wave
- for (uint8 i = 0; i < 8; ++i)
+ for (uint8 i = GetBossState(DATA_FALRIC) == DONE ? 4 : 0; i < 8; ++i)
{
tempList = possibilityList;