From 9c01bbbd6e64853954308bca2242d561d89024c8 Mon Sep 17 00:00:00 2001 From: Exitare Date: Mon, 23 Dec 2024 03:08:39 -0800 Subject: [PATCH] fix(Scripts/Hyjal) First wave should not grant reputation (#21004) --- .../CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp index 4a11a8d1325fc7..c0c95f6c780bb1 100644 --- a/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp +++ b/src/server/scripts/Kalimdor/CavernsOfTime/BattleForMountHyjal/instance_hyjal.cpp @@ -190,6 +190,8 @@ class instance_hyjal : public InstanceMapScript if (creature->IsSummon() && _bossWave != TO_BE_DECIDED) { + if (_currentWave == 0) + creature->SetDisableReputationGain(true); DoUpdateWorldState(WORLD_STATE_ENEMYCOUNT, ++trash); // Update the instance wave count on new trash spawn _encounterNPCs.insert(creature->GetGUID()); // Used for despawning on wipe }