diff --git a/Source/Framework/Constants/Spells/SpellConst.cs b/Source/Framework/Constants/Spells/SpellConst.cs index 6bd3a6aa7..3b82eed3a 100644 --- a/Source/Framework/Constants/Spells/SpellConst.cs +++ b/Source/Framework/Constants/Spells/SpellConst.cs @@ -1977,7 +1977,7 @@ namespace Framework.Constants CooldownIgnoresRangedWeapon = 0x100, // Cooldown Ignores Ranged Weapon NotInArena = 0x200, // 9 Not In Arena TargetMustBeGrounded = 0x400, // Target Must Be Grounded - Unk11 = 0x800, // 11 + AllowWhileBanishedAuraState = 0x800, // Doesn't seem to be doing anything, banish behaves like a regular stun now - tested on patch 10.2.7 with spell 17767 (doesn't have this attribute, only SPELL_ATTR5_ALLOW_WHILE_STUNNED and was castable while banished) Unk12 = 0x1000, // 12 Slam = 0x2000, // 13 UsableInRatedBattlegrounds = 0x4000, // 14 Can Be Used In Rated Battlegrounds diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 54fd321e6..ce3b2143c 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -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;