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:
Stoabrogga
2019-06-14 07:51:29 +02:00
committed by Poszer
parent 613bb9d002
commit 5da61f1167
4 changed files with 59 additions and 1 deletions

View File

@@ -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();