From e864cbed8ce49a41c7cee59a9387fd4f0391839b Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 30 Jul 2009 11:06:31 +0800 Subject: [PATCH] [8243] Fixed problems with unexpected set diminishion return level at arena for fear/turn spells. Author: VladimirMangos --HG-- branch : trunk --- src/game/SpellMgr.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 9c9bb255ef..f3e02e6d8f 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -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