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

@ -4,7 +4,7 @@ namespace Server.Spells.First
{
public class ClumsySpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Clumsy",
"Uus Jux",
212,
@ -13,7 +13,7 @@ namespace Server.Spells.First
Reagent.Nightshade
);
public ClumsySpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public ClumsySpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -6,7 +6,7 @@ namespace Server.Spells.First
{
public class CreateFoodSpell : MagerySpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Create Food",
"In Mani Ylem",
224,
@ -30,7 +30,7 @@ namespace Server.Spells.First
new(typeof(Peach), "a peach")
};
public CreateFoodSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public CreateFoodSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -4,7 +4,7 @@ namespace Server.Spells.First
{
public class FeeblemindSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Feeblemind",
"Rel Wis",
212,
@ -13,7 +13,7 @@ namespace Server.Spells.First
Reagent.Nightshade
);
public FeeblemindSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public FeeblemindSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -8,7 +8,7 @@ namespace Server.Spells.First
{
public class HealSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Heal",
"In Mani",
224,
@ -18,7 +18,7 @@ namespace Server.Spells.First
Reagent.SpidersSilk
);
public HealSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public HealSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -4,7 +4,7 @@ namespace Server.Spells.First
{
public class MagicArrowSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Magic Arrow",
"In Por Ylem",
212,
@ -12,7 +12,7 @@ namespace Server.Spells.First
Reagent.SulfurousAsh
);
public MagicArrowSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public MagicArrowSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -5,7 +5,7 @@ namespace Server.Spells.First
{
public class NightSightSpell : MagerySpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Night Sight",
"In Lor",
236,
@ -14,7 +14,7 @@ namespace Server.Spells.First
Reagent.SpidersSilk
);
public NightSightSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public NightSightSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -5,7 +5,7 @@ namespace Server.Spells.First
{
public class ReactiveArmorSpell : MagerySpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Reactive Armor",
"Flam Sanct",
236,
@ -17,7 +17,7 @@ namespace Server.Spells.First
private static readonly Dictionary<Mobile, ResistanceMod[]> m_Table = new();
public ReactiveArmorSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public ReactiveArmorSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -4,7 +4,7 @@ namespace Server.Spells.First
{
public class WeakenSpell : MagerySpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Weaken",
"Des Mani",
212,
@ -13,7 +13,7 @@ namespace Server.Spells.First
Reagent.Nightshade
);
public WeakenSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public WeakenSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}