aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGildor <gildor55@gmail.com>2018-07-18 13:59:52 +0200
committerShauren <shauren.trinity@gmail.com>2021-10-14 19:16:52 +0200
commitaf26380d9b1fc86f9b70e744bacdb947770d47c9 (patch)
tree94d8ae76e89c102122ce5d1cbae76a889bc126da /src
parentf78c1bed5d9852f6f8a80d0ed8bc6d2955422b50 (diff)
Core/Spells: Shadow of Death & Spiritual Vengeance should be negative spells (BlackTemple/Teron Gorefiend) (#22164)
Closes: #22160 Closes: #22161 (cherry picked from commit e114939071fe0aa09491c2f4ebbb3cf4f3aa5fd9)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index 0e5b1cb59fe..44896751acb 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -4335,6 +4335,7 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, SpellEffectInfo const& ef
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
@@ -4352,21 +4353,23 @@ bool _isPositiveEffectImpl(SpellInfo const* spellInfo, SpellEffectInfo const& ef
break;
}
break;
- case SPELLFAMILY_WARRIOR:
- // Slam, Execute
- if ((spellInfo->SpellFamilyFlags[0] & 0x20200000) != 0)
- return false;
- break;
case SPELLFAMILY_ROGUE:
switch (spellInfo->Id)
{
// Envenom must be considered as a positive effect even though it deals damage
case 32645: // Envenom
return true;
+ case 40251: // Shadow of Death, Teron Gorefiend, Black Temple
+ return false;
default:
break;
}
break;
+ case SPELLFAMILY_WARRIOR:
+ // Slam, Execute
+ if ((spellInfo->SpellFamilyFlags[0] & 0x20200000) != 0)
+ return false;
+ break;
default:
break;
}