mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Scripts/Spells: Cancel existing Light's Wrath visual missiles when recasting the spell
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user