diff options
author | CrYser <cryser99@gmail.com> | 2012-09-11 22:34:23 +0100 |
---|---|---|
committer | CrYser <cryser99@gmail.com> | 2012-09-11 22:34:23 +0100 |
commit | 9483653c1e68f2588939fecdb221b80cd50b4514 (patch) | |
tree | 62f172a20890d6a3e2bbc01479818d7e6a0c3a0c | |
parent | 2eed9b40459e89be288eca30718d00beb8513ecc (diff) |
[4.3.4]Core/Spells: Remove useless code
Fixes Glyph of Might
-rwxr-xr-x | src/server/game/Entities/Unit/Unit.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
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); |