Core/Spells: Fixed two more diminish returns - Curse of Tongues & Curse of Elements

This commit is contained in:
Lopin
2011-06-19 10:58:28 +02:00
parent 5edfc789ab
commit 0f95cf7ffd
+6
View File
@@ -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: