fix(Scripts): Use distinct sound entry for BRD L70ETC Music Doodad. (#22029)
This commit is contained in:
parent
bd3f4d0228
commit
4dfc44a69b
1 changed files with 6 additions and 2 deletions
|
|
@ -458,7 +458,8 @@ public:
|
|||
####*/
|
||||
enum L70ETCMusic
|
||||
{
|
||||
MUSIC_L70_ETC_MUSIC = 11803
|
||||
MUSIC_L70_ETC_MUSIC = 11803,
|
||||
MUSIC_L70_ETC_MUSIC_LOUD = 12868
|
||||
};
|
||||
|
||||
enum L70ETCMusicEvents
|
||||
|
|
@ -486,7 +487,10 @@ public:
|
|||
switch (eventId)
|
||||
{
|
||||
case EVENT_ETC_START_MUSIC:
|
||||
me->PlayDirectMusic(MUSIC_L70_ETC_MUSIC);
|
||||
if (me->GetMapId() == MAP_BLACKROCK_DEPTHS)
|
||||
me->PlayDirectMusic(MUSIC_L70_ETC_MUSIC_LOUD);
|
||||
else
|
||||
me->PlayDirectMusic(MUSIC_L70_ETC_MUSIC);
|
||||
_events.ScheduleEvent(EVENT_ETC_START_MUSIC, 1600); // Every 1.6 seconds SMSG_PLAY_MUSIC packet (PlayDirectMusic) is pushed to the client (sniffed value)
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue