aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormegamage <none@none>2009-07-30 11:06:31 +0800
committermegamage <none@none>2009-07-30 11:06:31 +0800
commite864cbed8ce49a41c7cee59a9387fd4f0391839b (patch)
tree4c7b43c8796e19bc74113d239ff1319a91d937be /src
parenta94cccbf4d900fd3e184239ce981a7dfbb6dc467 (diff)
[8243] Fixed problems with unexpected set diminishion return level at arena for fear/turn spells. Author: VladimirMangos
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/SpellMgr.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 9c9bb255ef2..f3e02e6d8f3 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