Scripts/BoT: exclude several invisible stalkers from the Proto-Behemoth's Dancing Flames visual effect

This commit is contained in:
Ovahlord committed 2023-12-19 07:55:49 +01:00
1 parent abfddaa915
commit f951bf80fd
2 files changed
+2 -5

No files matched your search

@@ -71,10 +71,6 @@ INSERT INTO `spawn_group` (`groupId`, `spawnType`, `spawnId`) VALUES
(462, 0, @CGUID+24), (462, 0, @CGUID+24),
(462, 0, @CGUID+25), (462, 0, @CGUID+25),
(462, 0, @CGUID+26), (462, 0, @CGUID+26),
(462, 0, 253808),
(462, 0, 253815),
(462, 0, 253820),
(462, 0, 253821),
(462, 0, 253861), (462, 0, 253861),
(462, 0, 253863), (462, 0, 253863),
(462, 0, 253864), (462, 0, 253864),
@@ -114,7 +114,8 @@ class instance_bastion_of_twilight final : public InstanceMapScript
switch (creature->GetEntry()) switch (creature->GetEntry())
{ {
case NPC_INVISIBLE_STALKER: case NPC_INVISIBLE_STALKER:
_dancingFlamesInvisibleStalkerGUIDs.insert(creature->GetGUID()); if (creature->GetPositionZ() < 850.0f)
_dancingFlamesInvisibleStalkerGUIDs.insert(creature->GetGUID());
break; break;
case NPC_COLLAPSING_TWILIGHT_PORTAL: case NPC_COLLAPSING_TWILIGHT_PORTAL:
if (Creature* valiona = GetCreature(DATA_VALIONA)) if (Creature* valiona = GetCreature(DATA_VALIONA))