Removes implicit types

This commit is contained in:
Kamron Batman 2018-09-14 08:48:39 -07:00
parent 33f5e77a24
commit 04b4cfe75b
261 changed files with 1329 additions and 1329 deletions

View file

@ -76,12 +76,12 @@ namespace Server.Spells.Necromancy
return null;
}
private static CreatureGroup[] m_Groups = new CreatureGroup[]
private static CreatureGroup[] m_Groups = new[]
{
// Undead group--empty
new CreatureGroup( SlayerGroup.GetEntryByName( SlayerName.Silver ).Types, new SummonEntry[0] ),
// Insects
new CreatureGroup( new Type[]
new CreatureGroup( new[]
{
typeof( DreadSpider ), typeof( FrostSpider ), typeof( GiantSpider ), typeof( GiantBlackWidow ),
typeof( BlackSolenInfiltratorQueen ), typeof( BlackSolenInfiltratorWarrior ),
@ -92,22 +92,22 @@ namespace Server.Spells.Necromancy
typeof( TerathanWarrior )
// TODO: Giant beetle? Ant lion? Ophidians?
},
new SummonEntry[]
new[]
{
new SummonEntry( 0, typeof( MoundOfMaggots ) )
} ),
// Mounts
new CreatureGroup( new Type[]
new CreatureGroup( new[]
{
typeof( Horse ), typeof( Nightmare ), typeof( FireSteed ),
typeof( Kirin ), typeof( Unicorn )
}, new SummonEntry[]
}, new[]
{
new SummonEntry( 10000, typeof( HellSteed ) ),
new SummonEntry( 0, typeof( SkeletalMount ) )
} ),
// Elementals
new CreatureGroup( new Type[]
new CreatureGroup( new[]
{
typeof( BloodElemental ), typeof( EarthElemental ), typeof( SummonedEarthElemental ),
typeof( AgapiteElemental ), typeof( BronzeElemental ), typeof( CopperElemental ),
@ -116,18 +116,18 @@ namespace Server.Spells.Necromancy
typeof( FireElemental ), typeof( SummonedFireElemental ), typeof( SnowElemental ),
typeof( AirElemental ), typeof( SummonedAirElemental ), typeof( WaterElemental ),
typeof( SummonedAirElemental ), typeof ( AcidElemental )
}, new SummonEntry[]
}, new[]
{
new SummonEntry( 5000, typeof( WailingBanshee ) ),
new SummonEntry( 0, typeof( Wraith ) )
} ),
// Dragons
new CreatureGroup( new Type[]
new CreatureGroup( new[]
{
typeof( AncientWyrm ), typeof( Dragon ), typeof( GreaterDragon ), typeof( SerpentineDragon ),
typeof( ShadowWyrm ), typeof( SkeletalDragon ), typeof( WhiteWyrm ),
typeof( Drake ), typeof( Wyvern ), typeof( LesserHiryu ), typeof( Hiryu )
}, new SummonEntry[]
}, new[]
{
new SummonEntry( 18000, typeof( SkeletalDragon ) ),
new SummonEntry( 10000, typeof( FleshGolem ) ),
@ -138,7 +138,7 @@ namespace Server.Spells.Necromancy
new SummonEntry( 0, typeof( PatchworkSkeleton ) )
} ),
// Default group
new CreatureGroup( new Type[0], new SummonEntry[]
new CreatureGroup( new Type[0], new[]
{
new SummonEntry( 18000, typeof( LichLord ) ),
new SummonEntry( 10000, typeof( FleshGolem ) ),

View file

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

View file

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