mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 01:37:37 +01:00
Scripts/Ick&Krick: Krick should only say his KilledUnit text when the victim is a player.
This commit is contained in:
@@ -322,7 +322,7 @@ class boss_krick : public CreatureScript
|
||||
|
||||
void KilledUnit(Unit* victim)
|
||||
{
|
||||
if (victim == me)
|
||||
if (victim->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
|
||||
Talk(SAY_KRICK_SLAY);
|
||||
|
||||
Reference in New Issue
Block a user