[8243] Fixed problems with unexpected set diminishion return level at arena for fear/turn spells. Author: VladimirMangos

--HG--
branch : trunk
This commit is contained in:
megamage
2009-07-30 11:06:31 +08:00
parent a94cccbf4d
commit e864cbed8c
+5
View File
@@ -2843,6 +2843,11 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
// Explicit Diminishing Groups
switch(spellproto->SpellFamilyName)
{
case SPELLFAMILY_GENERIC:
// some generic arena related spells have by some strange reason MECHANIC_TURN
if (spellproto->Mechanic == MECHANIC_TURN)
return DIMINISHING_NONE;
break;
case SPELLFAMILY_MAGE:
{
// Frostbite 0x80000000