From 2126ec3395cd7dd60d7d90bfa88b03fb99a04f29 Mon Sep 17 00:00:00 2001 From: megamage Date: Thu, 23 Jul 2009 09:34:10 +0800 Subject: *Let MECHANIC_SHACKLE has DIMINISHING_CONTROL_STUN. By VladimirMangos --HG-- branch : trunk --- src/game/SpellMgr.cpp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 43268713b2e..0a7c436bb00 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2852,9 +2852,6 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto // Repentance if (spellproto->SpellFamilyFlags[0] & 0x4) return DIMINISHING_POLYMORPH; - // Turn Evil - else if (spellproto->SpellFamilyFlags[1] & 0x8040) - return DIMINISHING_FEAR_BLIND; break; } case SPELLFAMILY_DEATHKNIGHT: @@ -2871,15 +2868,20 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto // Get by mechanic uint32 mechanic = GetAllSpellMechanicMask(spellproto); if (mechanic == MECHANIC_NONE) return DIMINISHING_NONE; - if (mechanic & (1<