From c5fa7219c571e1aac647ce1e5485c3aa31e94cfe Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 24 Jul 2009 09:14:22 +0800 Subject: [8201] Apply PvP duration limit to spell 15286 Author: Alez --HG-- branch : trunk --- src/game/SpellMgr.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src') diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp index 7b4da07988e..9c9bb255ef2 100644 --- a/src/game/SpellMgr.cpp +++ b/src/game/SpellMgr.cpp @@ -2918,6 +2918,13 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto return DIMINISHING_POLYMORPH; break; } + case SPELLFAMILY_PRIEST: + { + // Vampiric Embrace + if ((spellproto->SpellFamilyFlags[0] & 0x4) && spellproto->SpellIconID == 150) + return DIMINISHING_LIMITONLY; + break; + } case SPELLFAMILY_DEATHKNIGHT: { // Hungering Cold (no flags) @@ -2987,6 +2994,13 @@ int32 GetDiminishingReturnsLimitDuration(DiminishingGroup group, SpellEntry cons return 40000; break; } + case SPELLFAMILY_PRIEST: + { + // Vampiric Embrace - limit to 60 seconds in PvP (3.1) + if ((spellproto->SpellFamilyFlags[0] & 0x4) && spellproto->SpellIconID == 150) + return 60000; + break; + } default: break; } -- cgit v1.2.3