From 9ca85627e22a25b635049b3959f1771481e1cdad Mon Sep 17 00:00:00 2001 From: Shauren Date: Sat, 26 Aug 2023 22:53:38 +0200 Subject: [PATCH] Scripts/Spells: Cancel existing Light's Wrath visual missiles when recasting the spell --- src/server/scripts/Spells/spell_priest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/scripts/Spells/spell_priest.cpp b/src/server/scripts/Spells/spell_priest.cpp index 27354ef2f7a..d72bbff34b9 100644 --- a/src/server/scripts/Spells/spell_priest.cpp +++ b/src/server/scripts/Spells/spell_priest.cpp @@ -1295,6 +1295,7 @@ class spell_pri_lights_wrath : public SpellScript { if (Unit* target = ObjectAccessor::GetUnit(*GetCaster(), atonementTarget)) { + target->CancelSpellMissiles(SPELL_PRIEST_LIGHTS_WRATH_VISUAL, false, false); target->CastSpell(GetCaster(), SPELL_PRIEST_LIGHTS_WRATH_VISUAL, TRIGGERED_IGNORE_CAST_IN_PROGRESS); } }