Core/Spells: merged DBC spell coefficient reading (commit: 1826437c094966ae339a154844df8587b2122888)

This commit is contained in:
Ovahlord committed 2018-04-23 21:22:21 +02:00
1 parent 9a552f157e
commit cbadcab773
16 files changed
+114 -49

No files matched your search

+8 -1
View File
@@ -1939,7 +1939,7 @@ void SpellMgr::LoadSpellProcs()
TC_LOG_INFO("server.loading", ">> Generated spell proc data for %u spells in %u ms", count, GetMSTimeDiffToNow(oldMSTime));
}
void SpellMgr::LoadSpellBonusess()
void SpellMgr::LoadSpellBonuses()
{
uint32 oldMSTime = getMSTime();
@@ -2897,6 +2897,13 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->AttributesEx4 |= SPELL_ATTR4_FIXED_DAMAGE;
});
// Immolate
ApplySpellFix({ 348 }, [](SpellInfo* spellInfo)
{
// copy SP scaling data from direct damage to DoT
spellInfo->Effects[EFFECT_0].BonusMultiplier = spellInfo->Effects[EFFECT_1].BonusMultiplier;
});
// Howl of Azgalor
ApplySpellFix({ 31344 }, [](SpellInfo* spellInfo)
{