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.Second
|
|||
{
|
||||
public class AgilitySpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Agility",
|
||||
"Ex Uus",
|
||||
212,
|
||||
|
|
@ -14,7 +14,7 @@ namespace Server.Spells.Second
|
|||
Reagent.MandrakeRoot
|
||||
);
|
||||
|
||||
public AgilitySpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public AgilitySpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Second
|
|||
{
|
||||
public class CunningSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Cunning",
|
||||
"Uus Wis",
|
||||
212,
|
||||
|
|
@ -14,7 +14,7 @@ namespace Server.Spells.Second
|
|||
Reagent.Nightshade
|
||||
);
|
||||
|
||||
public CunningSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public CunningSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Second
|
|||
{
|
||||
public class CureSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Cure",
|
||||
"An Nox",
|
||||
212,
|
||||
|
|
@ -14,7 +14,7 @@ namespace Server.Spells.Second
|
|||
Reagent.Ginseng
|
||||
);
|
||||
|
||||
public CureSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public CureSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Spells.Second
|
|||
{
|
||||
public class HarmSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Harm",
|
||||
"An Mani",
|
||||
212,
|
||||
|
|
@ -13,7 +13,7 @@ namespace Server.Spells.Second
|
|||
Reagent.SpidersSilk
|
||||
);
|
||||
|
||||
public HarmSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public HarmSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Second
|
|||
{
|
||||
public class MagicTrapSpell : MagerySpell, ISpellTargetingItem
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Magic Trap",
|
||||
"In Jux",
|
||||
212,
|
||||
|
|
@ -15,7 +15,7 @@ namespace Server.Spells.Second
|
|||
Reagent.SulfurousAsh
|
||||
);
|
||||
|
||||
public MagicTrapSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public MagicTrapSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Second
|
|||
{
|
||||
public class ProtectionSpell : MagerySpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Protection",
|
||||
"Uus Sanct",
|
||||
236,
|
||||
|
|
@ -18,7 +18,7 @@ namespace Server.Spells.Second
|
|||
private static readonly Dictionary<Mobile, Tuple<ResistanceMod, DefaultSkillMod>> m_Table =
|
||||
new();
|
||||
|
||||
public ProtectionSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public ProtectionSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Second
|
|||
{
|
||||
public class RemoveTrapSpell : MagerySpell, ISpellTargetingItem
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Remove Trap",
|
||||
"An Jux",
|
||||
212,
|
||||
|
|
@ -14,7 +14,7 @@ namespace Server.Spells.Second
|
|||
Reagent.SulfurousAsh
|
||||
);
|
||||
|
||||
public RemoveTrapSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public RemoveTrapSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Second
|
|||
{
|
||||
public class StrengthSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Strength",
|
||||
"Uus Mani",
|
||||
212,
|
||||
|
|
@ -14,7 +14,7 @@ namespace Server.Spells.Second
|
|||
Reagent.Nightshade
|
||||
);
|
||||
|
||||
public StrengthSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public StrengthSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue