fix(Scripts/UtgardeKeep): Prince Keleseth not aggroing (#15523)

* fix(Scripts/Instance): Utgarde Keep - Prince Keleseth not aggroing from proximity.

* update

* zzz

* typo

* remove broadcast_text update
This commit is contained in:
avarishd
2023-03-23 13:08:29 +02:00
committed by GitHub
parent 61652c20c1
commit 970aca642e
2 changed files with 15 additions and 7 deletions

View File

@@ -29,6 +29,7 @@ enum eTexts
SAY_SUMMON_SKELETONS = 2,
SAY_FROST_TOMB_EMOTE = 4,
SAY_DEATH = 5,
SAY_KILL = 6,
};
enum eNPCs
@@ -140,14 +141,13 @@ public:
pInstance->SetData(DATA_KELESETH, NOT_STARTED);
}
void MoveInLineOfSight(Unit* /*who*/) override {}
/*void KilledUnit(Unit * victim)
void KilledUnit(Unit* victim) override
{
if (victim == me)
return;
DoScriptText(SAY_KILL, me);
}*/
if (victim->IsPlayer())
{
Talk(SAY_KILL);
}
}
void JustDied(Unit* /*killer*/) override
{