Core/Spells: Rename SpellAttr4 to use official attribute names

Port From (https://github.com/TrinityCore/TrinityCore/commit/8d16a79dea4c0100d36e13b068c42499a3a48154)
This commit is contained in:
hondacrx
2022-06-01 13:37:39 -04:00
parent c5ed815f84
commit 62c2d34f1a
12 changed files with 154 additions and 134 deletions
+1 -7
View File
@@ -3156,7 +3156,7 @@ namespace Game.Entities
60864 // Jaws of Death
}, spellInfo =>
{
spellInfo.AttributesEx4 |= SpellAttr4.FixedDamage;
spellInfo.AttributesEx4 |= SpellAttr4.IgnoreDamageTakenModifiers;
});
// Howl of Azgalor
@@ -3824,12 +3824,6 @@ namespace Game.Entities
});
});
// Coldflame (Lord Marrowgar)
ApplySpellFix(new[] { 69146 }, spellInfo =>
{
spellInfo.AttributesEx4 &= ~SpellAttr4.IgnoreResistances;
});
// Shadow's Fate
ApplySpellFix(new[] { 71169 }, spellInfo =>
{