Core/Spells: Implemented SPELL_ATTR6_AURA_IS_WEAPON_PROC
Port From (https://github.com/TrinityCore/TrinityCore/commit/0710fd0ee09c6fd7cdd990d7a1d44cedb2a6034d)
This commit is contained in:
@@ -1726,6 +1726,9 @@ namespace Game.Spells
|
||||
|
||||
if (spell.m_CastItem != null && procEntry.AttributesMask.HasFlag(ProcAttributes.CantProcFromItemCast))
|
||||
return 0;
|
||||
|
||||
if (spell.GetSpellInfo().HasAttribute(SpellAttr4.SuppressWeaponProcs) && GetSpellInfo().HasAttribute(SpellAttr6.AuraIsWeaponProc))
|
||||
return 0;
|
||||
}
|
||||
|
||||
// check don't break stealth attr present
|
||||
|
||||
Reference in New Issue
Block a user