diff options
author | Ovah <dreadkiller@gmx.de> | 2022-10-01 18:20:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 18:20:49 +0200 |
commit | 750b52285364c0446fdec8520be58650047d7cab (patch) | |
tree | 2a8ab0aa7bcc62c1b6b9099618539a516e4ad620 | |
parent | 7cb3551539bdf4fbf7ea58f7c330713d25cac6e2 (diff) |
Core/Spells: fixed sending partial blocks in SMSG_SPELL_GO packets
-rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |