diff --git a/Source/Game/Spells/SpellInfo.cs b/Source/Game/Spells/SpellInfo.cs index b94c06293..3c37d178f 100644 --- a/Source/Game/Spells/SpellInfo.cs +++ b/Source/Game/Spells/SpellInfo.cs @@ -668,7 +668,9 @@ namespace Game.Spells if (affectSpell == null) return false; - return IsAffected(affectSpell.SpellFamilyName, mod.mask); + // TEMP: dont use IsAffected - !familyName and !familyFlags are not valid options for spell mods + // TODO: investigate if the !familyName and !familyFlags conditions are even valid for all other (nonmod) uses of SpellInfo::IsAffected + return affectSpell.SpellFamilyName == SpellFamilyName && mod.mask & SpellFamilyFlags; } public bool CanPierceImmuneAura(SpellInfo auraSpellInfo)