Core/Units: a587f99c30 followup

This commit is contained in:
Ovahlord committed 2022-09-13 16:30:15 +02:00
1 parent a587f99c30
commit a7ba9502d7
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -2675,7 +2675,7 @@ void Spell::TargetInfo::DoDamageAndTriggers(Spell* spell)
else
{
// Add bonuses and fill damageInfo struct
caster->CalculateSpellDamageTaken(&damageInfo, spell->m_damage, spell->m_spellInfo, spell->m_attackType, IsCrit);
caster->CalculateSpellDamageTaken(&damageInfo, spell->m_damage, spell->m_spellInfo, spell->m_attackType, IsCrit, MissCondition == SPELL_MISS_BLOCK);
Unit::DealDamageMods(damageInfo.target, damageInfo.damage, &damageInfo.absorb);
if (Creature* target = damageInfo.target->ToCreature())