aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWyrserth <wyrserth@protonmail.com>2019-07-20 21:02:23 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-16 22:58:41 +0100
commit3efc2caf96af46d73dc042e3e9c2a29ecb35dd84 (patch)
treef7320c90df56e377dd4c9d894349bc15dc2a0319 /src
parenta8b2a363f23be9c9595eefe63731276acca04b63 (diff)
Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in Sethekk Halls.
(cherry picked from commit b8d86bba999684998da59f4765d7982cba30ec21)
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
index 12b77280444..8cbd1a991c0 100644
--- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
+++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
@@ -63,6 +63,12 @@ enum Events
EVENT_CHAIN_LIGHTNING = 5
};
+enum Lakka
+{
+ NPC_LAKKA = 18956,
+ SAY_LAKKA_FREE = 1
+};
+
class boss_darkweaver_syth : public CreatureScript
{
public:
@@ -104,6 +110,9 @@ public:
{
_JustDied();
Talk(SAY_DEATH);
+
+ if (Creature* lakka = me->FindNearestCreature(NPC_LAKKA, 500.0f, true))
+ lakka->AI()->Talk(SAY_LAKKA_FREE);
}
void KilledUnit(Unit* who) override