Creature/Script: Add missing emote to Princess Moira Bronzebeard

Closes #22182

(cherry picked from commit 7c2fb9c7aa)
This commit is contained in:
Killyana
2018-07-22 13:08:21 +02:00
committed by Shauren
parent 4bd6a50897
commit cefd86e330
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
-- Princess Moira Bronzebeard
DELETE FROM `creature_text` WHERE `CreatureID`=8929;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(8929,0,0,"%s is visibly shaken by the death of Emperor Thaurissan.",16,0,100,18,0,0,5429,0,"Princess Moira Bronzebeard");

View File

@@ -39,6 +39,11 @@ enum Events
EVENT_AVATAROFFLAME = 2
};
enum Emotes
{
EMOTE_SHAKEN = 0
};
class boss_emperor_dagran_thaurissan : public CreatureScript
{
public:
@@ -76,6 +81,7 @@ class boss_emperor_dagran_thaurissan : public CreatureScript
{
moira->AI()->EnterEvadeMode();
moira->SetFaction(FACTION_FRIENDLY);
moira->AI()->Talk(EMOTE_SHAKEN);
}
}