Core/Spell: allow damage from binary spells to go through elemental resistance's damage reduction.

Port From (https://github.com/TrinityCore/TrinityCore/commit/09e849bb69561fe91a9b8c1aa72555eb6c65d0b2)
This commit is contained in:
hondacrx
2021-12-24 21:05:41 -05:00
parent 0f248e2faa
commit a75bc5188f
-4
View File
@@ -3084,10 +3084,6 @@ namespace Game.Entities
{
if (spellInfo.HasAttribute(SpellAttr4.IgnoreResistances))
return 0;
// Binary spells can't have damage part resisted
if (spellInfo.HasAttribute(SpellCustomAttributes.BinarySpell))
return 0;
}
float averageResist = CalculateAverageResistReduction(attacker, schoolMask, victim, spellInfo);