Script/SethekkHalls: fix gossip text and quest event for NPC Lakka in Sethekk Halls.

(cherry picked from commit b8d86bba999684998da59f4765d7982cba30ec21)
This commit is contained in:
Wyrserth
2021-12-16 22:58:41 +01:00
committed by Shauren
parent a8b2a363f2
commit 3efc2caf96
2 changed files with 37 additions and 0 deletions
@@ -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