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:
@@ -635,7 +635,7 @@ private:
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
@@ -648,7 +648,7 @@ private:
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user