aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorP-Kito <kito@vortexirc.com>2015-07-09 07:15:50 +0200
committertkrokli <tkrokli@hotmail.com>2015-07-14 10:56:51 +0200
commita80501a30e72a9f6038b0b6034b390fdb311ebc0 (patch)
tree6e859eb239c2e5c971e5197afe4d5c8abdd1f972 /src
parent5bbd7cff4c98b59673d03416e6fff83d7db4d950 (diff)
Core/Spells: remove incorrect PvP combat state
by @P-Kito; retrieved from #15027 Neither Vampiric Embrace nor Wandering Plague should keep PvP players in combat state. Players can't drink for extended periods of time in arena debuffed with Death Knight's Wandering Plague + diseases or when the counterpart is buffed with Vampiric Embrace. Every tick keeps them in combat. This PR should fix the issue.
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellMgr.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index 53b44fdd5cc..b63f0571ac5 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3235,6 +3235,9 @@ void SpellMgr::LoadSpellInfoCorrections()
spellInfo->Effects[EFFECT_1].BasePoints = -6; // -5%
break;
case 50526: // Wandering Plague
+ case 15290: // Vampiric Embrace
+ spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_INITIAL_AGGRO;
+ break;
case 63675: // Improved Devouring Plague
spellInfo->AttributesEx3 |= SPELL_ATTR3_NO_DONE_BONUS;
break;