mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/Sounds - added missing victory near sound for Arathi Basin (3.3.5) (#26477)
* added missing victory near sound for arathi basin
* switch sound id's
Co-authored-by: schell244 <>
(cherry picked from commit 2ac7499f66)
This commit is contained in:
@@ -148,10 +148,15 @@ void BattlegroundAB::PostUpdateImpl(uint32 diff)
|
||||
if (!m_IsInformedNearVictory && m_TeamScores[team] > BG_AB_WARNING_NEAR_VICTORY_SCORE)
|
||||
{
|
||||
if (team == TEAM_ALLIANCE)
|
||||
{
|
||||
SendBroadcastText(BG_AB_TEXT_ALLIANCE_NEAR_VICTORY, CHAT_MSG_BG_SYSTEM_NEUTRAL);
|
||||
PlaySoundToAll(BG_AB_SOUND_NEAR_VICTORY_ALLIANCE);
|
||||
}
|
||||
else
|
||||
{
|
||||
SendBroadcastText(BG_AB_TEXT_HORDE_NEAR_VICTORY, CHAT_MSG_BG_SYSTEM_NEUTRAL);
|
||||
PlaySoundToAll(BG_AB_SOUND_NEAR_VICTORY);
|
||||
PlaySoundToAll(BG_AB_SOUND_NEAR_VICTORY_HORDE);
|
||||
}
|
||||
m_IsInformedNearVictory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -197,7 +197,8 @@ enum BG_AB_Sounds
|
||||
BG_AB_SOUND_NODE_CAPTURED_HORDE = 8213,
|
||||
BG_AB_SOUND_NODE_ASSAULTED_ALLIANCE = 8212,
|
||||
BG_AB_SOUND_NODE_ASSAULTED_HORDE = 8174,
|
||||
BG_AB_SOUND_NEAR_VICTORY = 8456
|
||||
BG_AB_SOUND_NEAR_VICTORY_ALLIANCE = 8456,
|
||||
BG_AB_SOUND_NEAR_VICTORY_HORDE = 8457
|
||||
};
|
||||
|
||||
enum BG_AB_Objectives
|
||||
|
||||
Reference in New Issue
Block a user