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

This commit is contained in:
TecDian
2017-05-14 11:30:02 +02:00
committed by Shauren
parent 6e3a48c873
commit 4b8644d6e6
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 `entry`=36296 AND `groupid`=6 AND `id`=0;
INSERT INTO `creature_text` (`entry`,`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

@@ -53,6 +53,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
};
@@ -220,6 +221,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)