Core/Spells: Removed SPELL_SPECIFIC_JUDGEMENT
Port From (https://github.com/TrinityCore/TrinityCore/commit/4ef983f689177660f2d4c16c7063040c7fb0236d)
This commit is contained in:
@@ -286,7 +286,6 @@ namespace Framework.Constants
|
||||
MageArmor = 9,
|
||||
ElementalShield = 10,
|
||||
MagePolymorph = 11,
|
||||
Judgement = 13,
|
||||
WarlockCorruption = 17,
|
||||
Food = 19,
|
||||
Drink = 20,
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user