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

(cherry picked from commit b8d86bba99)
This commit is contained in:
Wyrserth
2019-07-20 21:02:23 +02:00
committed by Shauren
parent a8b2a363f2
commit 3efc2caf96
2 changed files with 37 additions and 0 deletions

View File

@@ -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