Core/Spells: Shadow of Death & Spiritual Vengeance should be negative spells (BlackTemple/Teron Gorefiend)
Port From (https://github.com/TrinityCore/TrinityCore/commit/af26380d9b1fc86f9b70e744bacdb947770d47c9)
This commit is contained in:
@@ -3275,6 +3275,7 @@ namespace Game.Spells
|
|||||||
case SpellFamilyNames.Generic:
|
case SpellFamilyNames.Generic:
|
||||||
switch (spellInfo.Id)
|
switch (spellInfo.Id)
|
||||||
{
|
{
|
||||||
|
case 40268: // Spiritual Vengeance, Teron Gorefiend, Black Temple
|
||||||
case 61987: // Avenging Wrath Marker
|
case 61987: // Avenging Wrath Marker
|
||||||
case 61988: // Divine Shield exclude aura
|
case 61988: // Divine Shield exclude aura
|
||||||
case 72410: // Rune of Blood, Saurfang, Icecrown Citadel
|
case 72410: // Rune of Blood, Saurfang, Icecrown Citadel
|
||||||
@@ -3292,21 +3293,23 @@ namespace Game.Spells
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SpellFamilyNames.Warrior:
|
|
||||||
// Slam, Execute
|
|
||||||
if ((spellInfo.SpellFamilyFlags[0] & 0x20200000) != 0)
|
|
||||||
return false;
|
|
||||||
break;
|
|
||||||
case SpellFamilyNames.Rogue:
|
case SpellFamilyNames.Rogue:
|
||||||
switch (spellInfo.Id)
|
switch (spellInfo.Id)
|
||||||
{
|
{
|
||||||
// Envenom must be considered as a positive effect even though it deals damage
|
// Envenom must be considered as a positive effect even though it deals damage
|
||||||
case 32645: // Envenom
|
case 32645: // Envenom
|
||||||
return true;
|
return true;
|
||||||
|
case 40251: // Shadow of Death, Teron Gorefiend, Black Temple
|
||||||
|
return false;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case SpellFamilyNames.Warrior:
|
||||||
|
// Slam, Execute
|
||||||
|
if ((spellInfo.SpellFamilyFlags[0] & 0x20200000) != 0)
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user