From 4c04f046b9a246fffec810b325b6348a9d5033eb Mon Sep 17 00:00:00 2001 From: killerwife Date: Mon, 30 Dec 2024 15:36:08 +0100 Subject: [PATCH] Spell: Make SPELL_ATTR_EX_REQUIRE_ALL_TARGETS properly end channel but still aggro --- src/game/Spells/Spell.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/game/Spells/Spell.cpp b/src/game/Spells/Spell.cpp index 884e4ff727..d9077dac27 100644 --- a/src/game/Spells/Spell.cpp +++ b/src/game/Spells/Spell.cpp @@ -694,6 +694,7 @@ void Spell::FillTargetMap() { SendCastResult(SPELL_FAILED_IMMUNE); // guessed error finish(false); + return; } } @@ -706,9 +707,10 @@ void Spell::FillTargetMap() for (auto& ihit : m_UniqueTargetInfo) { ihit.effectHitMask = 0; - ihit.effectMask = 0; + ihit.missCondition = SPELL_MISS_IMMUNE2; + ihit.effectDuration = 0; } - return; + m_duration = 0; } } }