fix: Cleans up spell info variable (#848)

This commit is contained in:
Kamron Batman 2021-11-14 18:31:32 -08:00 • committed by GitHub
parent 91493f7f27
commit e5f55a424a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
120 changed files with 241 additions and 247 deletions

View file

@ -6,7 +6,7 @@ namespace Server.Spells.Sixth
{
public class DispelSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Dispel",
"An Ort",
218,
@ -16,7 +16,7 @@ namespace Server.Spells.Sixth
Reagent.SulfurousAsh
);
public DispelSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public DispelSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -4,7 +4,7 @@ namespace Server.Spells.Sixth
{
public class EnergyBoltSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Energy Bolt",
"Corp Por",
230,
@ -13,7 +13,7 @@ namespace Server.Spells.Sixth
Reagent.Nightshade
);
public EnergyBoltSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public EnergyBoltSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -5,7 +5,7 @@ namespace Server.Spells.Sixth
{
public class ExplosionSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Explosion",
"Vas Ort Flam",
230,
@ -14,8 +14,7 @@ namespace Server.Spells.Sixth
Reagent.MandrakeRoot
);
public ExplosionSpell(Mobile caster, Item scroll = null)
: base(caster, scroll, m_Info)
public ExplosionSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -9,7 +9,7 @@ namespace Server.Spells.Sixth
{
public class InvisibilitySpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Invisibility",
"An Lor Xen",
206,
@ -20,7 +20,7 @@ namespace Server.Spells.Sixth
private static readonly Dictionary<Mobile, TimerExecutionToken> m_Table = new();
public InvisibilitySpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public InvisibilitySpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -6,7 +6,7 @@ namespace Server.Spells.Sixth
{
public class MarkSpell : MagerySpell, ISpellTargetingItem
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Mark",
"Kal Por Ylem",
218,
@ -16,7 +16,7 @@ namespace Server.Spells.Sixth
Reagent.MandrakeRoot
);
public MarkSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public MarkSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -4,7 +4,7 @@ namespace Server.Spells.Sixth
{
public class MassCurseSpell : MagerySpell, ISpellTargetingPoint3D
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Mass Curse",
"Vas Des Sanct",
218,
@ -16,7 +16,7 @@ namespace Server.Spells.Sixth
Reagent.SulfurousAsh
);
public MassCurseSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public MassCurseSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -8,7 +8,7 @@ namespace Server.Spells.Sixth
{
public class ParalyzeFieldSpell : MagerySpell, ISpellTargetingPoint3D
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Paralyze Field",
"In Ex Grav",
230,
@ -19,7 +19,7 @@ namespace Server.Spells.Sixth
Reagent.SpidersSilk
);
public ParalyzeFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public ParalyzeFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -5,7 +5,7 @@ namespace Server.Spells.Sixth
{
public class RevealSpell : MagerySpell, ISpellTargetingPoint3D
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Reveal",
"Wis Quas",
206,
@ -14,7 +14,7 @@ namespace Server.Spells.Sixth
Reagent.SulfurousAsh
);
public RevealSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public RevealSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}