fix(DB/Core): play event after quest "Hero of the Mag'har"; extend SAI to play music (#1570)

This commit is contained in:
Stoabrogga
2019-03-19 09:04:40 +01:00
committed by GitHub
parent 306615e71a
commit 54b23ce209
6 changed files with 2316 additions and 1 deletions

View File

@@ -586,8 +586,10 @@ enum SMART_ACTION
SMART_ACTION_NO_ENVIRONMENT_UPDATE = 213,
SMART_ACTION_ZONE_UNDER_ATTACK = 214,
SMART_ACTION_LOAD_GRID = 215,
SMART_ACTION_MUSIC = 216, // SoundId, onlySelf, type
SMART_ACTION_RANDOM_MUSIC = 217, // SoundId1, SoundId2, SoundId3, SoundId4, onlySelf, type
SMART_ACTION_AC_END = 216, // placeholder
SMART_ACTION_AC_END = 218, // placeholder
};
struct SmartAction
@@ -629,6 +631,23 @@ struct SmartAction
uint32 onlySelf;
} randomSound;
struct
{
uint32 sound;
uint32 onlySelf;
uint32 type;
} music;
struct
{
uint32 sound1;
uint32 sound2;
uint32 sound3;
uint32 sound4;
uint32 onlySelf;
uint32 type;
} randomMusic;
struct
{
uint32 emote;