diff options
author | ariel- <ariel-@users.noreply.github.com> | 2018-02-12 19:32:59 -0300 |
---|---|---|
committer | ariel- <ariel-@users.noreply.github.com> | 2018-02-12 19:32:59 -0300 |
commit | 59fb0a581ce319e0185266f196fe4df47d08e51f (patch) | |
tree | 4ecc74fa9c30f71b2c9e195fc024008f207230a7 /src | |
parent | bc2a4c816d6dc893b9b0c8d5bf0a15fe085506c5 (diff) |
Core/Spells: fix Vampiric touch dispel effect inheriting damage done pct twice
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/Spells/SpellMgr.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index b0480a184b0..108259152ee 100644 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3599,6 +3599,14 @@ void SpellMgr::LoadSpellInfoCorrections() spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_INITIAL_AGGRO; }); + // Vampiric Touch (dispel effect) + ApplySpellFix({ 64085 }, [](SpellInfo* spellInfo) + { + // copy from similar effect of Unstable Affliction (31117) + spellInfo->AttributesEx4 |= SPELL_ATTR4_FIXED_DAMAGE; + spellInfo->AttributesEx6 |= SPELL_ATTR6_LIMIT_PCT_DAMAGE_MODS; + }); + // Improved Devouring Plague ApplySpellFix({ 63675 }, [](SpellInfo* spellInfo) { |