diff options
author | elecyb <electrocyber_net@hotmail.com> | 2011-06-19 02:27:46 +0700 |
---|---|---|
committer | tobmaps <spambot42@yandex.ru> | 2011-06-19 02:27:46 +0700 |
commit | 89c97b94fd3e71dd45af9a0fe6aace202c1d72ef (patch) | |
tree | 059c66a1f027b9db519b0d485cb90a4da02d7b9e | |
parent | 19ede8fa72147a5bb56f24270acf38b0560ee47a (diff) |
Core/Spells: Judgment of Justice should be limited to 10 seconds in PvP
Closes #2036
-rwxr-xr-x | src/server/game/Spells/SpellMgr.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp index 9c96411e2ec..7f0b50f4d2e 100755 --- a/src/server/game/Spells/SpellMgr.cpp +++ b/src/server/game/Spells/SpellMgr.cpp @@ -2862,9 +2862,13 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto } case SPELLFAMILY_PALADIN: { + // Judgement of Justice - limit duration to 10s in PvP + if (spellproto->SpellFamilyFlags[0] & 0x100000) + return DIMINISHING_LIMITONLY; // Turn Evil - if ((spellproto->SpellFamilyFlags[1] & 0x804000) && spellproto->SpellIconID == 309) + else if ((spellproto->SpellFamilyFlags[1] & 0x804000) && spellproto->SpellIconID == 309) return DIMINISHING_FEAR; + break; } case SPELLFAMILY_PRIEST: { |