aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellMgr.cpp
diff options
context:
space:
mode:
authorHavenard <havenard@hotmail.com>2011-10-10 18:01:02 -0300
committerHavenard <havenard@hotmail.com>2011-10-10 18:01:02 -0300
commit61f468d5a1e75409d97bb94ea5c3feb8ab1c4eeb (patch)
treef0477859a1aa1b5331fdc9ed71ecb0ac85cc7044 /src/server/game/Spells/SpellMgr.cpp
parent3b4b6a2d9ab8c3b689e9189466cf2b1d7f864775 (diff)
Fix Elemental Oath
Remove hacky implementation of Elemental Oath Properly fix it by correcting DBC data Fix Clearcasting from Elemental Oath damage bonus being displayed twice in Spell ToolTips by damage Addons like DrDamage (displaying 10.25% instead of 5%, 21% instead of 10%)
Diffstat (limited to 'src/server/game/Spells/SpellMgr.cpp')
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index cfa28080b2b..b993f6152fc 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3090,6 +3090,13 @@ void SpellMgr::LoadDbcDataCorrections()
case 48422:
spellInfo->Stances = 1 << (FORM_TREE - 1);
break;
+ case 51466: // Elemental Oath (Rank 1)
+ case 51470: // Elemental Oath (Rank 2)
+ spellInfo->Effect[EFFECT_1] = SPELL_EFFECT_APPLY_AURA;
+ spellInfo->EffectApplyAuraName[EFFECT_1] = SPELL_AURA_ADD_FLAT_MODIFIER;
+ spellInfo->EffectMiscValue[EFFECT_1] = SPELLMOD_EFFECT2;
+ spellInfo->EffectSpellClassMask[EFFECT_1] = flag96(0x00000000, 0x00004000, 0x00000000);
+ break;
case 47569: // Improved Shadowform (Rank 1)
// with this spell atrribute aura can be stacked several times
spellInfo->Attributes &= ~SPELL_ATTR0_NOT_SHAPESHIFT;