Core/Spells: Fixed two more diminish returns - Curse of Tongues & Curse of Elements
This commit is contained in:
@@ -3016,6 +3016,12 @@ int32 GetDiminishingReturnsLimitDuration(DiminishingGroup group, SpellEntry cons
|
|||||||
// Banish - limit to 6 seconds in PvP
|
// Banish - limit to 6 seconds in PvP
|
||||||
if (spellproto->SpellFamilyFlags[1] & 0x8000000)
|
if (spellproto->SpellFamilyFlags[1] & 0x8000000)
|
||||||
return 6 * IN_MILLISECONDS;
|
return 6 * IN_MILLISECONDS;
|
||||||
|
// Curse of Tongues - limit to 12 seconds in PvP
|
||||||
|
else if (spellproto->SpellFamilyFlags[2] & 0x800)
|
||||||
|
return 12 * IN_MILLISECONDS;
|
||||||
|
// Curse of Elements - limit to 120 seconds in PvP
|
||||||
|
else if (spellproto->SpellFamilyFlags[1] & 0x200)
|
||||||
|
return 120 * IN_MILLISECONDS;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user