aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTecDian <TecDian@users.noreply.github.com>2017-05-14 11:30:02 +0200
committerfunjoker <funjoker109@gmail.com>2020-06-14 22:48:17 +0200
commit4015c02a4294af3cb2845cfe2ca29a8e6f5b0319 (patch)
tree8653949ac63300aa4e218178db44fc5355cb5eb1
parentd4a356a0bae4262360cc99cd7743e5dfd1c43efd (diff)
Scripts/Events: Add missing line for "Love is in the air" boss fight (#19521)
(cherry picked from commit 4b8644d6e6581f13dcb2a965ce77a846017c1431)
-rw-r--r--sql/updates/world/master/2020_06_14_07_world_2017_05_14_00_world_335.sql4
-rw-r--r--src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp2
2 files changed, 6 insertions, 0 deletions
diff --git a/sql/updates/world/master/2020_06_14_07_world_2017_05_14_00_world_335.sql b/sql/updates/world/master/2020_06_14_07_world_2017_05_14_00_world_335.sql
new file mode 100644
index 00000000000..2ac3d7bc207
--- /dev/null
+++ b/sql/updates/world/master/2020_06_14_07_world_2017_05_14_00_world_335.sql
@@ -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');
diff --git a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
index a1714085160..9d03d816fda 100644
--- a/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
+++ b/src/server/scripts/EasternKingdoms/ShadowfangKeep/boss_apothecary_hummel.cpp
@@ -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)