C# 9 Cleanup (#325)
- [X] Removes EventArgs - not needed - [X] Merges sequential checks - [X] Removes redundant type declarations
This commit is contained in:
parent
351611a23a
commit
3551d962f7
417 changed files with 2209 additions and 2213 deletions
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class ChainLightningSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Chain Lightning",
|
||||
"Vas Ort Grav",
|
||||
209,
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class EnergyFieldSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Energy Field",
|
||||
"In Sanct Grav",
|
||||
221,
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class FlameStrikeSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Flame Strike",
|
||||
"Kal Vas Flam",
|
||||
245,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class GateTravelSpell : MagerySpell, IRecallSpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Gate Travel",
|
||||
"Vas Rel Por",
|
||||
263,
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class ManaVampireSpell : MagerySpell, ISpellTargetingMobile
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Mana Vampire",
|
||||
"Ort Sanct",
|
||||
221,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class MassDispelSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Mass Dispel",
|
||||
"Vas An Ort",
|
||||
263,
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class MeteorSwarmSpell : MagerySpell, ISpellTargetingPoint3D
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Meteor Swarm",
|
||||
"Flam Kal Des Ylem",
|
||||
233,
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Spells.Seventh
|
|||
{
|
||||
public class PolymorphSpell : MagerySpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Polymorph",
|
||||
"Vas Ylem Rel",
|
||||
221,
|
||||
|
|
@ -19,7 +19,7 @@ namespace Server.Spells.Seventh
|
|||
Reagent.MandrakeRoot
|
||||
);
|
||||
|
||||
private static readonly Dictionary<Mobile, InternalTimer> m_Timers = new Dictionary<Mobile, InternalTimer>();
|
||||
private static readonly Dictionary<Mobile, InternalTimer> m_Timers = new();
|
||||
|
||||
private readonly int m_NewBody;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue