Core/Spells: Removed MECHANIC_IMMUNE_SHIELD + MECHANIC_BANISH special case check in Spell::CheckCasterAuras and named possibly related spell attribute
Port From (https://github.com/TrinityCore/TrinityCore/commit/721103c1c9649fc769a4230216b871319a5f7643)
This commit is contained in:
@@ -6309,8 +6309,6 @@ namespace Game.Spells
|
||||
}
|
||||
else if (!CheckSpellCancelsStun(ref param1))
|
||||
result = SpellCastResult.Stunned;
|
||||
else if ((m_spellInfo.Mechanic & Mechanics.ImmuneShield) != 0 && m_caster.IsUnit() && m_caster.ToUnit().HasAuraWithMechanic(1 << (int)Mechanics.Banish))
|
||||
result = SpellCastResult.Stunned;
|
||||
}
|
||||
else if (unitCaster.IsSilenced(m_spellSchoolMask) && (m_spellInfo.PreventionType & SpellPreventionType.Silence) != 0 && !CheckSpellCancelsSilence(ref param1))
|
||||
result = SpellCastResult.Silenced;
|
||||
|
||||
Reference in New Issue
Block a user