chore(Scripts/Misc): Cleanup some more JustDied hooks (#9768)

This commit is contained in:
Kitzunu
2021-12-31 16:00:40 +01:00
committed by GitHub
parent 0556f0b3d5
commit 69683a3472
22 changed files with 34 additions and 31 deletions

View File

@@ -570,7 +570,7 @@ public:
ScriptedAI::MoveInLineOfSight(who);
}
void JustDied(Unit* ) override
void JustDied(Unit* /*killer*/) override
{
if (me->GetEntry() == NPC_UNSTOPPABLE_ABOMINATION && me->GetInstanceScript())
{

View File

@@ -473,7 +473,7 @@ public:
}
}
void JustDied(Unit* ) override
void JustDied(Unit* /*killer*/) override
{
Talk(me->GetEntry() == NPC_STALAGG ? SAY_STAL_DEATH : SAY_FEUG_DEATH);
Talk(me->GetEntry() == NPC_STALAGG ? EMOTE_STAL_DEATH : EMOTE_FEUG_DEATH);

View File

@@ -1169,7 +1169,7 @@ public:
uint32 timer;
void JustDied(Unit* ) override
void JustDied(Unit* /*killer*/) override
{
if (me->GetEntry() == NPC_MR_BIGGLESWORTH && me->GetInstanceScript())
{