From b0595fa29599c31dff64deb57db0ae19c7476e90 Mon Sep 17 00:00:00 2001 From: hondacrx Date: Thu, 26 May 2022 16:50:43 -0400 Subject: [PATCH] Core/Sounds - added missing victory near sound for Arathi Basin Port From (https://github.com/TrinityCore/TrinityCore/commit/71287d586156aabaa2017c4224de56fce683ead0) --- Source/Game/BattleGrounds/Zones/ArathiBasin.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Source/Game/BattleGrounds/Zones/ArathiBasin.cs b/Source/Game/BattleGrounds/Zones/ArathiBasin.cs index 7653b0f3e..574e37e39 100644 --- a/Source/Game/BattleGrounds/Zones/ArathiBasin.cs +++ b/Source/Game/BattleGrounds/Zones/ArathiBasin.cs @@ -147,10 +147,15 @@ namespace Game.BattleGrounds.Zones if (!m_IsInformedNearVictory && m_TeamScores[team] > WarningNearVictoryScore) { if (team == TeamId.Alliance) + { SendBroadcastText(ABBattlegroundBroadcastTexts.AllianceNearVictory, ChatMsg.BgSystemNeutral); + PlaySoundToAll(SoundNearVictoryAlliance); + } else + { SendBroadcastText(ABBattlegroundBroadcastTexts.HordeNearVictory, ChatMsg.BgSystemNeutral); - PlaySoundToAll(SoundNearVictory); + PlaySoundToAll(SoundNearVictoryHorde); + } m_IsInformedNearVictory = true; } @@ -749,7 +754,8 @@ namespace Game.BattleGrounds.Zones public const int SoundCapturedHorde = 8213; public const uint SoundAssaultedAlliance = 8212; public const uint SoundAssaultedHorde = 8174; - public const int SoundNearVictory = 8456; + public const int SoundNearVictoryAlliance = 8456; + public const int SoundNearVictoryHorde = 8457; public const int FlagCapturingTime = 60000;