mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(DB/Core): Play "Lament of the Highborne" as music instead of sound (#1926)
* fix(DB/Core): Play "Lament of the Highborne" as music instead of sound * Update ScriptedCreature.cpp * Update rev_1559456042362460279.sql * Update rev_1559456042362460279.sql * Update rev_1559456042362460279.sql * Update rev_1559456042362460279.sql
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
|
||||
#define CAST_AI(a, b) (dynamic_cast<a*>(b))
|
||||
|
||||
typedef std::list<WorldObject*> ObjectList;
|
||||
|
||||
class InstanceScript;
|
||||
|
||||
class SummonList
|
||||
@@ -237,6 +239,9 @@ struct ScriptedAI : public CreatureAI
|
||||
//Plays a sound to all nearby players
|
||||
void DoPlaySoundToSet(WorldObject* source, uint32 soundId);
|
||||
|
||||
//Plays music for all players in the zone (zone = true) or the area (zone = false)
|
||||
void DoPlayMusic(uint32 soundId, bool zone);
|
||||
|
||||
//Drops all threat to 0%. Does not remove players from the threat list
|
||||
void DoResetThreat();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user