aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWyrserth <wyrserth@protonmail.com>2019-07-20 21:02:23 +0200
committerWyrserth <wyrserth@protonmail.com>2019-07-20 21:02:23 +0200
commitb8d86bba999684998da59f4765d7982cba30ec21 (patch)
treee97528c7dd10f2ae2a1ed706caafe5aacc63a51d /src
parent97c472e9139d00df5b6eb023209fdaf10949b497 (diff)
Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in Sethekk Halls.
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 0fa80ebfe94..5bb641f7a0c 100644
--- a/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
+++ b/src/server/scripts/Outland/Auchindoun/SethekkHalls/boss_darkweaver_syth.cpp
@@ -64,6 +64,12 @@ enum Events
EVENT_CHAIN_LIGHTNING = 5
};
+enum Lakka
+{
+ NPC_LAKKA = 18956,
+ SAY_LAKKA_FREE = 1
+};
+
class boss_darkweaver_syth : public CreatureScript
{
public:
@@ -105,6 +111,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