From f9fdf03ec2ffe9d5af1ca2d6f45b29ef8f8de56b Mon Sep 17 00:00:00 2001 From: Subv Date: Sat, 8 Sep 2012 07:59:21 -0500 Subject: Core/Spells: Corrected Glyph of Blessing of Might and Glyph of Blessing of Wisdom. They should not affect Greater Blessing of Might and Greater Blessing of Wisdom. --- src/server/game/Entities/Unit/Unit.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 618ea30bce6..1c43c8edd62 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -13235,13 +13235,13 @@ int32 Unit::ModSpellDuration(SpellInfo const* spellProto, Unit const* target, in } break; case SPELLFAMILY_PALADIN: - if (spellProto->SpellFamilyFlags[0] & 0x00000002) + if (spellProto->SpellFamilyFlags[0] & 0x00000002 && spellProto->SpellIconID == 298) { // Glyph of Blessing of Might if (AuraEffect* aurEff = GetAuraEffect(57958, 0)) duration += aurEff->GetAmount() * MINUTE * IN_MILLISECONDS; } - else if (spellProto->SpellFamilyFlags[0] & 0x00010000) + else if (spellProto->SpellFamilyFlags[0] & 0x00010000 && spellProto->SpellIconID == 306) { // Glyph of Blessing of Wisdom if (AuraEffect* aurEff = GetAuraEffect(57979, 0)) -- cgit v1.2.3