Core/Spells: Named and implemented most of SpellAttr7

This commit is contained in:
Shauren authored and Ovahlord committed 2023-10-21 20:32:32 +02:00
1 parent 4b1cf485e0
commit 3c0cf32b43
12 files changed
+135 -130

No files matched your search

+3 -12
View File
@@ -3503,15 +3503,6 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_0].Effect = 0;
});
ApplySpellFix({
15487, // Priest - Silence
47476, // Deathknight - Strangulate
69179 // Arcane Torrent (Rage)
}, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx7 |= SPELL_ATTR7_INTERRUPT_ONLY_NONPLAYER;
});
ApplySpellFix({
42490, // Energized!
42492, // Cast Energized
@@ -4693,7 +4684,7 @@ void SpellMgr::LoadSpellInfoCorrections()
100258
}, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx7 |= SPELL_ATTR7_CANT_MISS;
spellInfo->AttributesEx7 |= SPELL_ATTR7_NO_ATTACK_MISS;
});
// Entrapping Roots
@@ -5311,13 +5302,13 @@ void SpellMgr::LoadSpellInfoCorrections()
// Release Aberrations
ApplySpellFix({ 77569 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx8 |= SPELL_ATTR7_CANT_MISS;
spellInfo->AttributesEx8 |= SPELL_ATTR7_NO_ATTACK_MISS;
});
// Release All Minions
ApplySpellFix({ 77991 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx8 |= SPELL_ATTR7_CANT_MISS;
spellInfo->AttributesEx8 |= SPELL_ATTR7_NO_ATTACK_MISS;
});
// Debilitating Slime