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
|
|
@ -11,7 +11,7 @@ namespace Server.Spells.Necromancy
|
|||
{
|
||||
public class ExorcismSpell : NecromancerSpell
|
||||
{
|
||||
private static readonly SpellInfo m_Info = new SpellInfo(
|
||||
private static readonly SpellInfo m_Info = new(
|
||||
"Exorcism",
|
||||
"Ort Corp Grav",
|
||||
203,
|
||||
|
|
@ -24,38 +24,38 @@ namespace Server.Spells.Necromancy
|
|||
|
||||
private static readonly Point3D[] m_BritanniaLocs =
|
||||
{
|
||||
new Point3D(1470, 843, 0),
|
||||
new Point3D(1857, 865, -1),
|
||||
new Point3D(4220, 563, 36),
|
||||
new Point3D(1732, 3528, 0),
|
||||
new Point3D(1300, 644, 8),
|
||||
new Point3D(3355, 302, 9),
|
||||
new Point3D(1606, 2490, 5),
|
||||
new Point3D(2500, 3931, 3),
|
||||
new Point3D(4264, 3707, 0)
|
||||
new(1470, 843, 0),
|
||||
new(1857, 865, -1),
|
||||
new(4220, 563, 36),
|
||||
new(1732, 3528, 0),
|
||||
new(1300, 644, 8),
|
||||
new(3355, 302, 9),
|
||||
new(1606, 2490, 5),
|
||||
new(2500, 3931, 3),
|
||||
new(4264, 3707, 0)
|
||||
};
|
||||
|
||||
private static readonly Point3D[] m_IllshLocs =
|
||||
{
|
||||
new Point3D(1222, 474, -17),
|
||||
new Point3D(718, 1360, -60),
|
||||
new Point3D(297, 1014, -19),
|
||||
new Point3D(986, 1006, -36),
|
||||
new Point3D(1180, 1288, -30),
|
||||
new Point3D(1538, 1341, -3),
|
||||
new Point3D(528, 223, -38)
|
||||
new(1222, 474, -17),
|
||||
new(718, 1360, -60),
|
||||
new(297, 1014, -19),
|
||||
new(986, 1006, -36),
|
||||
new(1180, 1288, -30),
|
||||
new(1538, 1341, -3),
|
||||
new(528, 223, -38)
|
||||
};
|
||||
|
||||
private static readonly Point3D[] m_MalasLocs =
|
||||
{
|
||||
new Point3D(976, 517, -30)
|
||||
new(976, 517, -30)
|
||||
};
|
||||
|
||||
private static readonly Point3D[] m_TokunoLocs =
|
||||
{
|
||||
new Point3D(710, 1162, 25),
|
||||
new Point3D(1034, 515, 18),
|
||||
new Point3D(295, 712, 55)
|
||||
new(710, 1162, 25),
|
||||
new(1034, 515, 18),
|
||||
new(295, 712, 55)
|
||||
};
|
||||
|
||||
public ExorcismSpell(Mobile caster, Item scroll = null) : base(caster, scroll, m_Info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue