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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user