Core/Spells: Removed SPELL_SPECIFIC_JUDGEMENT

Port From (https://github.com/TrinityCore/TrinityCore/commit/4ef983f689177660f2d4c16c7063040c7fb0236d)
This commit is contained in:
hondacrx
2022-06-01 13:47:28 -04:00
parent 13701dac7c
commit 35b5a28821
3 changed files with 0 additions and 15 deletions
@@ -286,7 +286,6 @@ namespace Framework.Constants
MageArmor = 9,
ElementalShield = 10,
MagePolymorph = 11,
Judgement = 13,
WarlockCorruption = 17,
Food = 19,
Drink = 20,
-1
View File
@@ -1061,7 +1061,6 @@ namespace Game.Spells
// spell with single target specific types
switch (spec)
{
case SpellSpecificType.Judgement:
case SpellSpecificType.MagePolymorph:
if (aura.GetSpellInfo().GetSpellSpecific() == spec)
return true;
-13
View File
@@ -724,14 +724,6 @@ namespace Game.Spells
if (HasAttribute(SpellAttr5.LimitN))
return true;
switch (GetSpellSpecific())
{
case SpellSpecificType.Judgement:
return true;
default:
break;
}
return false;
}
@@ -779,7 +771,6 @@ namespace Game.Spells
case SpellSpecificType.Curse:
case SpellSpecificType.Bane:
case SpellSpecificType.Aspect:
case SpellSpecificType.Judgement:
case SpellSpecificType.WarlockCorruption:
return spellSpec == spellInfo.GetSpellSpecific();
default:
@@ -1577,10 +1568,6 @@ namespace Game.Spells
if (SpellFamilyFlags[0].HasAnyFlag(0x00002190u))
_spellSpecific = SpellSpecificType.Hand;
// Judgement
if (Id == 20271)
_spellSpecific = SpellSpecificType.Judgement;
// only paladin auras have this (for palaldin class family)
switch (Id)
{