mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
fix(DB/Core): play event after quest "Hero of the Mag'har"; extend SAI to play music (#1570)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user