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,7 +6,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class ChainLightningSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Chain Lightning",
|
||||
"Vas Ort Grav",
|
||||
209,
|
||||
|
|
@ -18,7 +18,7 @@ namespace Server.Spells.Seventh
|
|||
Reagent.SulfurousAsh
|
||||
);
|
||||
|
||||
public ChainLightningSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public ChainLightningSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class EnergyFieldSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Energy Field",
|
||||
"In Sanct Grav",
|
||||
221,
|
||||
|
|
@ -20,7 +20,7 @@ namespace Server.Spells.Seventh
|
|||
Reagent.SulfurousAsh
|
||||
);
|
||||
|
||||
public EnergyFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public EnergyFieldSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class FlameStrikeSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Flame Strike",
|
||||
"Kal Vas Flam",
|
||||
245,
|
||||
|
|
@ -13,7 +13,7 @@ namespace Server.Spells.Seventh
|
|||
Reagent.SulfurousAsh
|
||||
);
|
||||
|
||||
public FlameStrikeSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public FlameStrikeSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class GateTravelSpell : MagerySpell, IRecallSpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Gate Travel",
|
||||
"Vas Rel Por",
|
||||
263,
|
||||
|
|
@ -21,7 +21,7 @@ namespace Server.Spells.Seventh
|
|||
private readonly RunebookEntry m_Entry;
|
||||
|
||||
public GateTravelSpell(Mobile caster, RunebookEntry entry = null, Item scroll = null) :
|
||||
base(caster, scroll, m_Info) => m_Entry = entry;
|
||||
base(caster, scroll, _info) => m_Entry = entry;
|
||||
|
||||
public override SpellCircle Circle => SpellCircle.Seventh;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class ManaVampireSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Mana Vampire",
|
||||
"Ort Sanct",
|
||||
221,
|
||||
|
|
@ -16,7 +16,7 @@ namespace Server.Spells.Seventh
|
|||
Reagent.SpidersSilk
|
||||
);
|
||||
|
||||
public ManaVampireSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public ManaVampireSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class MassDispelSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Mass Dispel",
|
||||
"Vas An Ort",
|
||||
263,
|
||||
|
|
@ -17,7 +17,7 @@ namespace Server.Spells.Seventh
|
|||
Reagent.SulfurousAsh
|
||||
);
|
||||
|
||||
public MassDispelSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public MassDispelSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class MeteorSwarmSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Meteor Swarm",
|
||||
"Flam Kal Des Ylem",
|
||||
233,
|
||||
|
|
@ -18,7 +18,7 @@ namespace Server.Spells.Seventh
|
|||
Reagent.SpidersSilk
|
||||
);
|
||||
|
||||
public MeteorSwarmSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
public MeteorSwarmSpell(Mobile caster, Item scroll = null) : base(caster, scroll, _info)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class PolymorphSpell : MagerySpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
private static readonly SpellInfo _info = new(
|
||||
"Polymorph",
|
||||
"Vas Ylem Rel",
|
||||
221,
|
||||
|
|
@ -23,7 +23,7 @@ namespace Server.Spells.Seventh
|
|||
|
||||
private readonly int m_NewBody;
|
||||
|
||||
public PolymorphSpell(Mobile caster, Item scroll, int body = 0) : base(caster, scroll, m_Info) => m_NewBody = body;
|
||||
public PolymorphSpell(Mobile caster, Item scroll, int body = 0) : base(caster, scroll, _info) => m_NewBody = body;
|
||||
|
||||
public override SpellCircle Circle => SpellCircle.Seventh;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue