mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core/Spells: Judgment of Justice should be limited to 10 seconds in PvP
Closes #2036
This commit is contained in:
@@ -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:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user