From 750b52285364c0446fdec8520be58650047d7cab Mon Sep 17 00:00:00 2001 From: Ovah Date: Sat, 1 Oct 2022 18:20:49 +0200 Subject: Core/Spells: fixed sending partial blocks in SMSG_SPELL_GO packets --- src/server/game/Spells/Spell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 30d0467dda3..4723c0137e8 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -4429,7 +4429,7 @@ void Spell::UpdateSpellCastDataTargets(WorldPackets::Spells::SpellCastData& data // possibly SPELL_MISS_IMMUNE2 for this?? targetInfo.MissCondition = SPELL_MISS_IMMUNE2; - if (targetInfo.MissCondition == SPELL_MISS_NONE) // Add only hits + if (targetInfo.MissCondition == SPELL_MISS_NONE || (targetInfo.MissCondition == SPELL_MISS_BLOCK && !m_spellInfo->HasAttribute(SPELL_ATTR3_COMPLETELY_BLOCKED)) // Add only hits and partial blocked { data.HitTargets->push_back(targetInfo.TargetGUID); -- cgit v1.2.3