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.Bushido
|
|||
{
|
||||
public class Confidence : SamuraiSpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Confidence",
|
||||
null,
|
||||
-1,
|
||||
|
|
@ -15,7 +15,7 @@ namespace Server.Spells.Bushido
|
|||
private static readonly Dictionary<Mobile, TimerExecutionToken> m_Table = new();
|
||||
private static readonly Dictionary<Mobile, TimerExecutionToken> m_RegenTable = new();
|
||||
|
||||
public Confidence(Mobile caster, Item scroll) : base(caster, scroll, m_Info)
|
||||
public Confidence(Mobile caster, Item scroll) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Bushido
|
|||
{
|
||||
public class CounterAttack : SamuraiSpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"CounterAttack",
|
||||
null,
|
||||
-1,
|
||||
|
|
@ -15,7 +15,7 @@ namespace Server.Spells.Bushido
|
|||
|
||||
private static readonly Dictionary<Mobile, TimerExecutionToken> m_Table = new();
|
||||
|
||||
public CounterAttack(Mobile caster, Item scroll) : base(caster, scroll, m_Info)
|
||||
public CounterAttack(Mobile caster, Item scroll) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Bushido
|
|||
{
|
||||
public class Evasion : SamuraiSpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Evasion",
|
||||
null,
|
||||
-1,
|
||||
|
|
@ -15,8 +15,7 @@ namespace Server.Spells.Bushido
|
|||
|
||||
private static readonly Dictionary<Mobile, TimerExecutionToken> m_Table = new();
|
||||
|
||||
public Evasion(Mobile caster, Item scroll)
|
||||
: base(caster, scroll, m_Info)
|
||||
public Evasion(Mobile caster, Item scroll) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -98,8 +98,8 @@ namespace Server.Spells.Bushido
|
|||
}
|
||||
|
||||
public HonorableExecutionTimer(
|
||||
TimeSpan duration, Mobile from, int swingBonus, List<object> mods = null, bool penalty = false)
|
||||
: base(duration)
|
||||
TimeSpan duration, Mobile from, int swingBonus, List<object> mods = null, bool penalty = false
|
||||
) : base(duration)
|
||||
{
|
||||
m_Mobile = from;
|
||||
m_SwingBonus = swingBonus;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue