fix: Cleans up spell info variable (#848)
This commit is contained in:
parent
91493f7f27
commit
e5f55a424a
120 changed files with 241 additions and 247 deletions
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class BladeSpiritsSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Blade Spirits",
|
||||
"In Jux Hur Ylem",
|
||||
266,
|
||||
|
|
@ -16,7 +16,7 @@ namespace Server.Spells.Fifth
|
|||
Reagent.Nightshade
|
||||
);
|
||||
|
||||
public BladeSpiritsSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public BladeSpiritsSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class DispelFieldSpell : MagerySpell, ISpellTargetingItem
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Dispel Field",
|
||||
"An Grav",
|
||||
206,
|
||||
|
|
@ -17,7 +17,7 @@ namespace Server.Spells.Fifth
|
|||
Reagent.Garlic
|
||||
);
|
||||
|
||||
public DispelFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public DispelFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class IncognitoSpell : MagerySpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Incognito",
|
||||
"Kal In Ex",
|
||||
206,
|
||||
|
|
@ -21,7 +21,7 @@ namespace Server.Spells.Fifth
|
|||
|
||||
private static readonly Dictionary<Mobile, TimerExecutionToken> m_Table = new();
|
||||
|
||||
public IncognitoSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public IncognitoSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class MagicReflectSpell : MagerySpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Magic Reflection",
|
||||
"In Jux Sanct",
|
||||
242,
|
||||
|
|
@ -16,7 +16,7 @@ namespace Server.Spells.Fifth
|
|||
|
||||
private static readonly Dictionary<Mobile, ResistanceMod[]> m_Table = new();
|
||||
|
||||
public MagicReflectSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public MagicReflectSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class MindBlastSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Mind Blast",
|
||||
"Por Corp Wis",
|
||||
218,
|
||||
|
|
@ -16,11 +16,11 @@ namespace Server.Spells.Fifth
|
|||
Reagent.SulfurousAsh
|
||||
);
|
||||
|
||||
public MindBlastSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public MindBlastSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
if (Core.AOS)
|
||||
{
|
||||
m_Info.LeftHandEffect = m_Info.RightHandEffect = 9002;
|
||||
_info.LeftHandEffect = _info.RightHandEffect = 9002;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class ParalyzeSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Paralyze",
|
||||
"An Ex Por",
|
||||
218,
|
||||
|
|
@ -17,7 +17,7 @@ namespace Server.Spells.Fifth
|
|||
Reagent.SpidersSilk
|
||||
);
|
||||
|
||||
public ParalyzeSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public ParalyzeSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class PoisonFieldSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Poison Field",
|
||||
"In Nox Grav",
|
||||
230,
|
||||
|
|
@ -20,7 +20,7 @@ namespace Server.Spells.Fifth
|
|||
Reagent.SpidersSilk
|
||||
);
|
||||
|
||||
public PoisonFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public PoisonFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Fifth
|
|||
{
|
||||
public class SummonCreatureSpell : MagerySpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Summon Creature",
|
||||
"Kal Xen",
|
||||
16,
|
||||
|
|
@ -40,7 +40,7 @@ namespace Server.Spells.Fifth
|
|||
typeof(Rabbit)
|
||||
};
|
||||
|
||||
public SummonCreatureSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public SummonCreatureSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue