aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrYser <cryser99@gmail.com>2012-09-11 22:34:23 +0100
committerCrYser <cryser99@gmail.com>2012-09-11 22:34:23 +0100
commit9483653c1e68f2588939fecdb221b80cd50b4514 (patch)
tree62f172a20890d6a3e2bbc01479818d7e6a0c3a0c
parent2eed9b40459e89be288eca30718d00beb8513ecc (diff)
[4.3.4]Core/Spells: Remove useless code
Fixes Glyph of Might
-rwxr-xr-xsrc/server/game/Entities/Unit/Unit.cpp14
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);