Fixes implicit array initializers

This commit is contained in:
Kamron Batman 2018-09-14 13:14:20 -07:00
parent 7d3a0ca265
commit fee83ce560
189 changed files with 440 additions and 808 deletions

View file

@ -76,8 +76,7 @@ namespace Server.Spells.Necromancy
return null;
}
private static CreatureGroup[] m_Groups = new[]
{
private static CreatureGroup[] m_Groups = {
// Undead group--empty
new CreatureGroup( SlayerGroup.GetEntryByName( SlayerName.Silver ).Types, new SummonEntry[0] ),
// Insects

View file

@ -164,8 +164,7 @@ namespace Server.Spells.Necromancy
return closest;
}
private static readonly Point3D[] m_BritanniaLocs = new[]
{
private static readonly Point3D[] m_BritanniaLocs = {
new Point3D( 1470, 843, 0 ),
new Point3D( 1857, 865, -1 ),
new Point3D( 4220, 563, 36 ),
@ -176,8 +175,7 @@ namespace Server.Spells.Necromancy
new Point3D( 2500, 3931, 3 ),
new Point3D( 4264, 3707, 0 )
};
private static readonly Point3D[] m_IllshLocs = new[]
{
private static readonly Point3D[] m_IllshLocs = {
new Point3D( 1222, 474, -17 ),
new Point3D( 718, 1360, -60),
new Point3D( 297, 1014, -19 ),
@ -186,12 +184,10 @@ namespace Server.Spells.Necromancy
new Point3D( 1538, 1341, -3 ),
new Point3D( 528, 223, -38 )
};
private static readonly Point3D[] m_MalasLocs = new[]
{
private static readonly Point3D[] m_MalasLocs = {
new Point3D ( 976, 517, -30 )
};
private static readonly Point3D[] m_TokunoLocs = new[]
{
private static readonly Point3D[] m_TokunoLocs = {
new Point3D( 710, 1162, 25 ),
new Point3D( 1034, 515, 18 ),
new Point3D( 295, 712, 55 )

View file

@ -54,8 +54,7 @@ namespace Server.Spells.Necromancy
FinishSequence();
}
private static SummonFamiliarEntry[] m_Entries = new[]
{
private static SummonFamiliarEntry[] m_Entries = {
new SummonFamiliarEntry( typeof( HordeMinionFamiliar ), 1060146, 30.0, 30.0 ), // Horde Minion
new SummonFamiliarEntry( typeof( ShadowWispFamiliar ), 1060142, 50.0, 50.0 ), // Shadow Wisp
new SummonFamiliarEntry( typeof( DarkWolfFamiliar ), 1060143, 60.0, 60.0 ), // Dark Wolf