aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGildor <gildor55@gmail.com>2018-07-18 13:59:52 +0200
committerKeader <keader.android@gmail.com>2018-07-18 08:59:52 -0300
commite114939071fe0aa09491c2f4ebbb3cf4f3aa5fd9 (patch)
tree51014c893d6716c0a1e1ebad17652bb31d87661a /src
parentc9b09fc2cbba9ec8bda124b73bd081581e7bfadc (diff)
Core/Spells: Shadow of Death & Spiritual Vengeance should be negative spells (BlackTemple/Teron Gorefiend) (#22164)
Closes: #22160 Closes: #22161
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index 0aabe17ac2d..59af161693c 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -3398,6 +3398,7 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, uint8 effIndex, std::unor
case SPELLFAMILY_GENERIC:
switch (spellInfo->Id)
{
+ case 40268: // Spiritual Vengeance, Teron Gorefiend, Black Temple
case 61987: // Avenging Wrath Marker
case 61988: // Divine Shield exclude aura
case 72410: // Rune of Blood, Saurfang, Icecrown Citadel
@@ -3414,6 +3415,11 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, uint8 effIndex, std::unor
break;
}
break;
+ case SPELLFAMILY_ROGUE:
+ // Shadow of Death, Teron Gorefiend, Black Temple
+ if (spellInfo->Id == 40251)
+ return false;
+ break;
case SPELLFAMILY_MAGE:
// Amplify Magic, Dampen Magic
if (spellInfo->SpellFamilyFlags[0] == 0x00002000)