diff options
author | Faq <ainarsh@gmail.com> | 2012-08-21 15:24:00 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-08-21 15:24:00 +0100 |
commit | e2ffa4188460c8a33a24f40a82f299f53708cace (patch) | |
tree | a130e5ffbba85988409b0785109ee7b0f3d227a7 /src | |
parent | a84ac50f1cdfc45c30cdbcd25d8bd2416393e7a0 (diff) |
Core/Spells: Fix Librams/Idol
Libram of Light http://wotlk.openwow.com/?item=23006
Libram of Divinity http://wotlk.openwow.com/?item=23201
Blessed Book of Nagrand http://wotlk.openwow.com/?item=25644
Idol of the Flourishing Life http://wotlk.openwow.com/?item=46138
Libram of the Lightbringer http://wotlk.openwow.com/?item=28296
Libram of Tolerance http://wotlk.openwow.com/?item=40268
Libram of the Resolute http://wotlk.openwow.com/?item=45436
Closes #7271
Closes #6020
Diffstat (limited to 'src')
-rwxr-xr-x | src/server/game/Spells/SpellMgr.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 9545a03a9f4..5493f1a2649 100755 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -3243,6 +3243,22 @@ void SpellMgr::LoadDbcDataCorrections() // this needs research on modifier applying rules, does not seem to be in Attributes fields spellInfo->EffectSpellClassMask[0] = flag96(0x00000040, 0x00000000, 0x00000000); break; + case 64949: // Idol of the Flourishing Life + spellInfo->EffectSpellClassMask[EFFECT_0] = flag96(0x00000000, 0x02000000, 0x00000000); + spellInfo->EffectApplyAuraName[EFFECT_0] = SPELL_AURA_ADD_FLAT_MODIFIER; + break; + case 34231: // Libram of the Lightbringer + case 60792: // Libram of Tolerance + case 64956: // Libram of the Resolute + spellInfo->EffectSpellClassMask[EFFECT_0] = flag96(0x80000000, 0x00000000, 0x00000000); + spellInfo->EffectApplyAuraName[EFFECT_0] = SPELL_AURA_ADD_FLAT_MODIFIER; + break; + case 28851: // Libram of Light + case 28853: // Libram of Divinity + case 32403: // Blessed Book of Nagrand + spellInfo->EffectSpellClassMask[EFFECT_0] = flag96(0x40000000, 0x00000000, 0x00000000); + spellInfo->EffectApplyAuraName[EFFECT_0] = SPELL_AURA_ADD_FLAT_MODIFIER; + break; case 45602: // Ride Carpet spellInfo->EffectBasePoints[EFFECT_0] = 0; // force seat 0, vehicle doesn't have the required seat flags for "no seat specified (-1)" break; |