mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 17:27:36 +01:00
[8109] Implement some more PvP aura duration limits. Author: Lightguard
Thanks for reseach to Alez. --HG-- branch : trunk
This commit is contained in:
@@ -2597,6 +2597,9 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
|
||||
// Cheap Shot
|
||||
else if (spellproto->SpellFamilyFlags[0] & 0x400)
|
||||
return DIMINISHING_CHEAPSHOT_POUNCE;
|
||||
// Crippling poison - Limit to 10 seconds in PvP (No SpellFamilyFlags)
|
||||
else if (spellproto->SpellIconID == 163)
|
||||
return DIMINISHING_LIMITONLY;
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_WARLOCK:
|
||||
@@ -2626,6 +2629,9 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
|
||||
//Entangling Roots: to force natures grasp proc to be control root
|
||||
else if (spellproto->SpellFamilyFlags[0] & 0x00000200)
|
||||
return DIMINISHING_CONTROL_ROOT;
|
||||
// Faerie Fire
|
||||
else if (spellproto->SpellFamilyFlags[0] & 0x400)
|
||||
return DIMINISHING_LIMITONLY;
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_MAGE:
|
||||
@@ -2715,6 +2721,13 @@ int32 GetDiminishingReturnsLimitDuration(DiminishingGroup group, SpellEntry cons
|
||||
return 6000;
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_DRUID:
|
||||
{
|
||||
// Faerie Fire - limit to 40 seconds in PvP (3.1)
|
||||
if (spellproto->SpellFamilyFlags[0] & 0x400)
|
||||
return 40000;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user