Core/Spells: Rename SpellAttr1 to use official attribute names

Port From (https://github.com/TrinityCore/TrinityCore/commit/c88b602a2c7eda598a4205dd0ec9f562c31f21b0)
This commit is contained in:
hondacrx
2022-05-31 22:13:24 -04:00
parent dc6eb46302
commit a2d9499152
10 changed files with 158 additions and 119 deletions
+3 -3
View File
@@ -3713,7 +3713,7 @@ namespace Game.Entities
// spell should dispel area aura, but doesn't have the attribute
// may be db data bug, or blizz may keep reapplying area auras every update with checking immunity
// that will be clear if we get more spells with problem like this
spellInfo.AttributesEx |= SpellAttr1.DispelAurasOnImmunity;
spellInfo.AttributesEx |= SpellAttr1.ImmunityPurgesEffect;
});
// Blizzard (Thorim)
@@ -4104,7 +4104,7 @@ namespace Game.Entities
// Awaken Flames
ApplySpellFix(new[] { 75888 }, spellInfo =>
{
spellInfo.AttributesEx |= SpellAttr1.CantTargetSelf;
spellInfo.AttributesEx |= SpellAttr1.ExcludeCaster;
});
// ENDOF RUBY SANCTUM SPELLS
@@ -4203,7 +4203,7 @@ namespace Game.Entities
// Gaze of Occu'thar
ApplySpellFix(new[] { 96942 }, spellInfo =>
{
spellInfo.AttributesEx &= ~SpellAttr1.Channeled1;
spellInfo.AttributesEx &= ~SpellAttr1.IsChannelled;
});
// Evolution