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
This commit is contained in:
Faq
2012-08-21 15:24:00 +01:00
committed by Nay
parent a84ac50f1c
commit e2ffa41884

View File

@@ -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;