Core/Spells: all bleed effects should ignore armor
Port From (https://github.com/TrinityCore/TrinityCore/commit/3ea88f814a6be7487ef8a3d5c6237981d20f5063)
This commit is contained in:
@@ -2630,6 +2630,10 @@ namespace Game.Entities
|
||||
{
|
||||
foreach (var spellEffectInfo in spellInfo.GetEffects())
|
||||
{
|
||||
// all bleed effects and spells ignore armor
|
||||
if ((spellInfo.GetEffectMechanicMask(spellEffectInfo.EffectIndex) & (1 << (int)Mechanics.Bleed)) != 0)
|
||||
spellInfo.AttributesCu |= SpellCustomAttributes.IgnoreArmor;
|
||||
|
||||
switch (spellEffectInfo.ApplyAuraName)
|
||||
{
|
||||
case AuraType.ModPossess:
|
||||
|
||||
Reference in New Issue
Block a user