Core/Spells: corrected Light of Dawn calculations

This commit is contained in:
Ovahlord
2019-07-30 15:58:00 +02:00
parent 5371749e1b
commit ec8b00a385
2 changed files with 13 additions and 7 deletions

View File

@@ -5442,6 +5442,12 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_DONE_BONUS;
});
// Light of Dawn
ApplySpellFix({ 85222 }, [](SpellInfo* spellInfo)
{
spellInfo->DmgClass = SPELL_DAMAGE_CLASS_MAGIC;
});
for (uint32 i = 0; i < GetSpellInfoStoreSize(); ++i)
{
SpellInfo* spellInfo = mSpellInfoMap[i];