diff options
author | megamage <none@none> | 2009-07-24 09:14:22 +0800 |
---|---|---|
committer | megamage <none@none> | 2009-07-24 09:14:22 +0800 |
commit | c5fa7219c571e1aac647ce1e5485c3aa31e94cfe (patch) | |
tree | b8a705b476e634cd6a39c1d29878f780b5724df6 /src/game/SpellMgr.cpp | |
parent | 4822008f0508c8f9ae54507ea8c5041efb2fee90 (diff) |
[8201] Apply PvP duration limit to spell 15286 Author: Alez
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellMgr.cpp')
-rw-r--r-- | src/game/SpellMgr.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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; } |