From 9483653c1e68f2588939fecdb221b80cd50b4514 Mon Sep 17 00:00:00 2001 From: CrYser Date: Tue, 11 Sep 2012 22:34:23 +0100 Subject: [4.3.4]Core/Spells: Remove useless code Fixes Glyph of Might --- src/server/game/Entities/Unit/Unit.cpp | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 5407cbd274e..33a0cd9c857 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -12386,20 +12386,6 @@ int32 Unit::ModSpellDuration(SpellInfo const* spellProto, Unit const* target, in duration += aurEff->GetAmount() * MINUTE * IN_MILLISECONDS; } break; - case SPELLFAMILY_PALADIN: - 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) && spellProto->SpellIconID == 306) - { - // Glyph of Blessing of Wisdom - if (AuraEffect* aurEff = GetAuraEffect(57979, 0)) - duration += aurEff->GetAmount() * MINUTE * IN_MILLISECONDS; - } - break; } } return std::max(duration, 0); -- cgit v1.2.3