From 3e2477945d5f0360ddcfe312df0e6b6250da0bf9 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Fri, 17 Jul 2009 06:21:12 +0400 Subject: [PATCH] [8192] Some other spell mechanics affected by diminishing returns. Commit inspired by Astellar patch attempt fix problem in another way. --- src/game/SpellMgr.cpp | 16 ++++++---------- src/shared/revision_nr.h | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 06133d780..d5fe01e07 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2907,13 +2907,6 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto return DIMINISHING_LIMITONLY; break; } - case SPELLFAMILY_PALADIN: - { - // Turn Evil - if (spellproto->SpellFamilyFlags & UI64LIT(0x00804000000000)) - return DIMINISHING_FEAR_BLIND; - break; - } case SPELLFAMILY_DEATHKNIGHT: { // Hungering Cold (no flags) @@ -2928,16 +2921,19 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto // Get by mechanic uint32 mechanic = GetAllSpellMechanicMask(spellproto); if (mechanic == MECHANIC_NONE) return DIMINISHING_NONE; - if (mechanic & (1<