Core/Spells: corrected the finishing move spell attributes for Rupture and Expose Armor

This commit is contained in:
Ovahlord
2022-02-21 10:16:30 +01:00
parent d53fb14cbb
commit f01012aac9

View File

@@ -5950,6 +5950,20 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->RangeEntry = sSpellRangeStore.LookupEntry(2); // Combat Range
});
// Expose Armor
ApplySpellFix({ 8647 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx |= SPELL_ATTR1_FINISHING_MOVE_DURATION;
spellInfo->AttributesEx &= ~SPELL_ATTR1_FINISHING_MOVE_DAMAGE;
});
// Rupture
ApplySpellFix({ 1943 }, [](SpellInfo* spellInfo)
{
spellInfo->AttributesEx |= SPELL_ATTR1_FINISHING_MOVE_DURATION;
spellInfo->AttributesEx &= ~SPELL_ATTR1_FINISHING_MOVE_DAMAGE;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];