Skip to content

Commit

Permalink
Spell: Make SPELL_ATTR_EX_REQUIRE_ALL_TARGETS properly end channel bu…
Browse files Browse the repository at this point in the history
…t still aggro
  • Loading branch information
killerwife committed Dec 30, 2024
1 parent 20b5788 commit 4c04f04
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/game/Spells/Spell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,7 @@ void Spell::FillTargetMap()
{
SendCastResult(SPELL_FAILED_IMMUNE); // guessed error
finish(false);
return;
}
}

Expand All @@ -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;
}
}
}
Expand Down

0 comments on commit 4c04f04

Please sign in to comment.