Jump to content

[spell] Vampiric Embrace


Guest przemratajczak

Recommended Posts

MaNGOS 9756

SD2 1677

UDB 389

Bug:

Since 3.3.0 Vampiric Embrace is no longer debuff so assume it no longer needs diminishing rules. This patch will also restore propper 30min duration

diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index e03ad77..123b35a 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -3581,11 +3581,8 @@ DiminishingGroup GetDiminishingReturnsGroupForSpell(SpellEntry const* spellproto
        }
        case SPELLFAMILY_PRIEST:
        {
-            // Vampiric Embrace
-            if ((spellproto->SpellFamilyFlags & UI64LIT(0x00000000004)) && spellproto->SpellIconID == 150)
-                return DIMINISHING_LIMITONLY;
            // Shackle Undead
-            else if (spellproto->SpellIconID == 27)
+            if (spellproto->SpellIconID == 27)
                return DIMINISHING_DISORIENT;
            break;
        }
@@ -3656,13 +3653,6 @@ 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 & UI64LIT(0x00000000004)) && spellproto->SpellIconID == 150)
-                return 60000;
-            break;
-        }
        case SPELLFAMILY_WARLOCK:
        {
            // Banish - limit to 6 seconds in PvP (3.1)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use