aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-04-25 22:16:56 +0200
committerShauren <shauren.trinity@gmail.com>2022-04-25 22:16:56 +0200
commitc88b602a2c7eda598a4205dd0ec9f562c31f21b0 (patch)
tree3b7fb3cd3f3959f1b0e6765175642cfdd239c4b3 /src/server/game/Spells/SpellMgr.cpp
parentb83e10321dc4b2e58823a3a27a589e478d42ba56 (diff)
Core/Spells: Rename SpellAttr1 to use official attribute names
* Implemented SPELL_ATTR1_NO_SKILL_INCREASE, SPELL_ATTR1_AURA_STAYS_AFTER_COMBAT, SPELL_ATTR1_DISPEL_ALL_STACKS
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 56e9c85da22..07dc8bb7cde 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -4033,7 +4033,7 @@ void SpellMgr::LoadSpellInfoCorrections()
// 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 |= SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY;
+ spellInfo->AttributesEx |= SPELL_ATTR1_IMMUNITY_PURGES_EFFECT;
});
// Blizzard (Thorim)
@@ -4424,7 +4424,7 @@ void SpellMgr::LoadSpellInfoCorrections()
// Awaken Flames
ApplySpellFix({ 75888 }, [](SpellInfo* spellInfo)
{
- spellInfo->AttributesEx |= SPELL_ATTR1_CANT_TARGET_SELF;
+ spellInfo->AttributesEx |= SPELL_ATTR1_EXCLUDE_CASTER;
});
// ENDOF RUBY SANCTUM SPELLS
@@ -4523,7 +4523,7 @@ void SpellMgr::LoadSpellInfoCorrections()
// Gaze of Occu'thar
ApplySpellFix({ 96942 }, [](SpellInfo* spellInfo)
{
- spellInfo->AttributesEx &= ~SPELL_ATTR1_CHANNELED_1;
+ spellInfo->AttributesEx &= ~SPELL_ATTR1_IS_CHANNELLED;
});
// Evolution