From e2ffa4188460c8a33a24f40a82f299f53708cace Mon Sep 17 00:00:00 2001 From: Faq Date: Tue, 21 Aug 2012 15:24:00 +0100 Subject: 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 --- src/server/game/Spells/SpellMgr.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src') 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; -- cgit v1.2.3