fix(Script/ObsidianSanctum): Solve path and visual effect issues with Flame Tsunami. (#25243)

Co-authored-by: Angelo Venturini <nefertum.dev@protonmail.com>
This commit is contained in:
Rocco Silipo
2026-03-26 20:37:53 +01:00
committed by GitHub
parent 17cad7afe1
commit 7370729919
2 changed files with 5 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
-- Set Extra Flag Ignore Pathfinding
UPDATE `creature_template` SET `flags_extra` = `flags_extra` |536871042 WHERE (`entry` = 30616);

View File

@@ -635,7 +635,7 @@ private:
{ {
Creature* tsunami = me->SummonCreature(NPC_FLAME_TSUNAMI, 3211.0f, FlameTsunamiLeftOffsets[i], 57.083332f, 0.0f, TEMPSUMMON_TIMED_DESPAWN, 13500); Creature* tsunami = me->SummonCreature(NPC_FLAME_TSUNAMI, 3211.0f, FlameTsunamiLeftOffsets[i], 57.083332f, 0.0f, TEMPSUMMON_TIMED_DESPAWN, 13500);
if (((i - 2) % 3 == 0) && tsunami) // If center of wave if (((i - 1) % 3 == 0) && tsunami) // If center of wave
tsunami->CastSpell(tsunami, SPELL_FLAME_TSUNAMI_VISUAL, true); tsunami->CastSpell(tsunami, SPELL_FLAME_TSUNAMI_VISUAL, true);
} }
@@ -648,7 +648,7 @@ private:
{ {
Creature* tsunami = me->SummonCreature(NPC_FLAME_TSUNAMI, 3286.0f, FlameTsunamiRightOffsets[i], 57.083332f, 3.14f, TEMPSUMMON_TIMED_DESPAWN, 13500); Creature* tsunami = me->SummonCreature(NPC_FLAME_TSUNAMI, 3286.0f, FlameTsunamiRightOffsets[i], 57.083332f, 3.14f, TEMPSUMMON_TIMED_DESPAWN, 13500);
if (((i - 2) % 3 == 0) && tsunami) // If center of wave if (((i - 1) % 3 == 0) && tsunami) // If center of wave
tsunami->CastSpell(tsunami, SPELL_FLAME_TSUNAMI_VISUAL, true); tsunami->CastSpell(tsunami, SPELL_FLAME_TSUNAMI_VISUAL, true);
} }