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,14 +6,14 @@ namespace Server.Spells.Chivalry
{
public class CleanseByFireSpell : PaladinSpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Cleanse By Fire",
"Expor Flamus",
-1,
9002
);
public CleanseByFireSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public CleanseByFireSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -9,14 +9,14 @@ namespace Server.Spells.Chivalry
{
public class CloseWoundsSpell : PaladinSpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Close Wounds",
"Obsu Vulni",
-1,
9002
);
public CloseWoundsSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public CloseWoundsSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -6,7 +6,7 @@ namespace Server.Spells.Chivalry
{
public class ConsecrateWeaponSpell : PaladinSpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Consecrate Weapon",
"Consecrus Arma",
-1,
@ -15,7 +15,7 @@ namespace Server.Spells.Chivalry
private static readonly Dictionary<BaseWeapon, ExpireTimer> m_Table = new();
public ConsecrateWeaponSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public ConsecrateWeaponSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -8,14 +8,14 @@ namespace Server.Spells.Chivalry
{
public class DispelEvilSpell : PaladinSpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Dispel Evil",
"Dispiro Malas",
-1,
9002
);
public DispelEvilSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public DispelEvilSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -5,7 +5,7 @@ namespace Server.Spells.Chivalry
{
public class DivineFurySpell : PaladinSpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Divine Fury",
"Divinum Furis",
-1,
@ -14,7 +14,7 @@ namespace Server.Spells.Chivalry
private static readonly Dictionary<Mobile, TimerExecutionToken> m_Table = new();
public DivineFurySpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public DivineFurySpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -6,7 +6,7 @@ namespace Server.Spells.Chivalry
{
public class EnemyOfOneSpell : PaladinSpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Enemy of One",
"Forul Solum",
-1,
@ -15,7 +15,7 @@ namespace Server.Spells.Chivalry
private static readonly Dictionary<Mobile, TimerExecutionToken> m_Table = new();
public EnemyOfOneSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public EnemyOfOneSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -5,14 +5,14 @@ namespace Server.Spells.Chivalry
{
public class HolyLightSpell : PaladinSpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Holy Light",
"Augus Luminos",
-1,
9002
);
public HolyLightSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public HolyLightSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -8,14 +8,14 @@ namespace Server.Spells.Chivalry
{
public class NobleSacrificeSpell : PaladinSpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Noble Sacrifice",
"Dium Prostra",
-1,
9002
);
public NobleSacrificeSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public NobleSacrificeSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -9,14 +9,14 @@ namespace Server.Spells.Chivalry
{
public class RemoveCurseSpell : PaladinSpell, ISpellTargetingMobile
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Remove Curse",
"Extermo Vomica",
-1,
9002
);
public RemoveCurseSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
public RemoveCurseSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
{
}

View file

@ -8,7 +8,7 @@ namespace Server.Spells.Chivalry
{
public class SacredJourneySpell : PaladinSpell, IRecallSpell
{
private static readonly SpellInfo m_Info = new(
private static readonly SpellInfo _info = new(
"Sacred Journey",
"Sanctum Viatas",
-1,
@ -21,7 +21,7 @@ namespace Server.Spells.Chivalry
public SacredJourneySpell(
Mobile caster, RunebookEntry entry = null, Runebook book = null, Item scroll = null
) : base(caster, scroll, m_Info)
) : base(caster, scroll, _info)
{
m_Entry = entry;
m_Book = book;