Core/Spells: fix Banish duration in PvP

This commit is contained in:
tobmaps
2011-05-15 18:55:38 +07:00
parent cd70ff40e2
commit bfe61c7998

View File

@@ -2963,6 +2963,13 @@ int32 GetDiminishingReturnsLimitDuration(DiminishingGroup group, SpellEntry cons
return 6 * IN_MILLISECONDS;
break;
}
case SPELLFAMILY_WARLOCK:
{
// Banish - limit to 6 seconds in PvP
if (spellproto->SpellFamilyFlags[1] & 0x8000000)
return 6 * IN_MILLISECONDS;
break;
}
case SPELLFAMILY_DRUID:
{
// Faerie Fire - limit to 40 seconds in PvP (3.1)