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,
|
MageArmor = 9,
|
||||||
ElementalShield = 10,
|
ElementalShield = 10,
|
||||||
MagePolymorph = 11,
|
MagePolymorph = 11,
|
||||||
Judgement = 13,
|
|
||||||
WarlockCorruption = 17,
|
WarlockCorruption = 17,
|
||||||
Food = 19,
|
Food = 19,
|
||||||
Drink = 20,
|
Drink = 20,
|
||||||
|
|||||||
@@ -1061,7 +1061,6 @@ namespace Game.Spells
|
|||||||
// spell with single target specific types
|
// spell with single target specific types
|
||||||
switch (spec)
|
switch (spec)
|
||||||
{
|
{
|
||||||
case SpellSpecificType.Judgement:
|
|
||||||
case SpellSpecificType.MagePolymorph:
|
case SpellSpecificType.MagePolymorph:
|
||||||
if (aura.GetSpellInfo().GetSpellSpecific() == spec)
|
if (aura.GetSpellInfo().GetSpellSpecific() == spec)
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@@ -724,14 +724,6 @@ namespace Game.Spells
|
|||||||
if (HasAttribute(SpellAttr5.LimitN))
|
if (HasAttribute(SpellAttr5.LimitN))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
switch (GetSpellSpecific())
|
|
||||||
{
|
|
||||||
case SpellSpecificType.Judgement:
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -779,7 +771,6 @@ namespace Game.Spells
|
|||||||
case SpellSpecificType.Curse:
|
case SpellSpecificType.Curse:
|
||||||
case SpellSpecificType.Bane:
|
case SpellSpecificType.Bane:
|
||||||
case SpellSpecificType.Aspect:
|
case SpellSpecificType.Aspect:
|
||||||
case SpellSpecificType.Judgement:
|
|
||||||
case SpellSpecificType.WarlockCorruption:
|
case SpellSpecificType.WarlockCorruption:
|
||||||
return spellSpec == spellInfo.GetSpellSpecific();
|
return spellSpec == spellInfo.GetSpellSpecific();
|
||||||
default:
|
default:
|
||||||
@@ -1577,10 +1568,6 @@ namespace Game.Spells
|
|||||||
if (SpellFamilyFlags[0].HasAnyFlag(0x00002190u))
|
if (SpellFamilyFlags[0].HasAnyFlag(0x00002190u))
|
||||||
_spellSpecific = SpellSpecificType.Hand;
|
_spellSpecific = SpellSpecificType.Hand;
|
||||||
|
|
||||||
// Judgement
|
|
||||||
if (Id == 20271)
|
|
||||||
_spellSpecific = SpellSpecificType.Judgement;
|
|
||||||
|
|
||||||
// only paladin auras have this (for palaldin class family)
|
// only paladin auras have this (for palaldin class family)
|
||||||
switch (Id)
|
switch (Id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user