Core/Spells: Shadow of Death & Spiritual Vengeance should be negative spells (BlackTemple/Teron Gorefiend) (#22164)

Closes: #22160
Closes: #22161
This commit is contained in:
Gildor
2018-07-18 13:59:52 +02:00
committed by Keader
parent c9b09fc2cb
commit e114939071

View File

@@ -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)