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
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue