mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
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:
@@ -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);
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user