Scripts/Kologarn: Apply CREATURE_FLAG_EXTRA_NO_COMBAT on NPC_ARM_SWEEP_STALKER and NPC_RUBBLE_STALKER

(cherry picked from commit 6ad6d9e670)
This commit is contained in:
jackpoz
2020-08-05 18:46:02 +02:00
committed by Shauren
parent 3780c05285
commit a23215c73d
2 changed files with 2 additions and 1 deletions

View File

@@ -0,0 +1,2 @@
-- Add CREATURE_FLAG_EXTRA_NO_COMBAT to Kologarn's stalkers
UPDATE `creature_template` SET `flags_extra` = `flags_extra` | 0x00002000 WHERE `entry` IN (33661,33809,33942);

View File

@@ -150,7 +150,6 @@ class boss_kologarn : public CreatureScript
me->GetMotionMaster()->MoveTargetedHome();
me->AddUnitFlag(UNIT_FLAG_NOT_SELECTABLE);
me->SetCorpseDelay(604800); // Prevent corpse from despawning.
ForceCombatStopForCreatureEntry({ NPC_ARM_SWEEP_STALKER, NPC_RUBBLE_STALKER }, 500.f);
_JustDied();
}