Scripts/Events: Add missing line for "Love is in the air" boss fight (#19521)

(cherry picked from commit 4b8644d6e6)
This commit is contained in:
TecDian
2017-05-14 11:30:02 +02:00
committed by funjoker
parent d4a356a0ba
commit 4015c02a42
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
-- add text for use in boss_apothecary_hummel.cpp
DELETE FROM `creature_text` WHERE `CreatureID`=36296 AND `GroupID`=6 AND `ID`=0;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(36296,6,0,"Apothecaries! Give your life for the Crown!",12,0,100,0,0,0,38594,3,'SAY_SUMMON_ADDS');

View File

@@ -56,6 +56,7 @@ enum ApothecarySays
SAY_CALL_BAXTER = 3,
SAY_CALL_FRYE = 4,
SAY_HUMMEL_DEATH = 5,
SAY_SUMMON_ADDS = 6,
SAY_BAXTER_DEATH = 0,
SAY_FRYE_DEATH = 0
};
@@ -226,6 +227,7 @@ class boss_apothecary_hummel : public CreatureScript
events.ScheduleEvent(EVENT_PERFUME_SPRAY, Milliseconds(3640));
events.ScheduleEvent(EVENT_CHAIN_REACTION, Seconds(15));
Talk(SAY_SUMMON_ADDS);
std::vector<Creature*> trashs;
me->GetCreatureListWithEntryInGrid(trashs, NPC_CROWN_APOTHECARY);
for (Creature* crea : trashs)