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

@ -14,8 +14,7 @@ namespace Server.SkillHandlers
public static double HidingRequirement => ( Core.ML ? 30.0 : ( Core.SE ? 50.0 : 80.0 ) );
public static int[,] ArmorTable => m_ArmorTable;
private static int[,] m_ArmorTable = new[,]
{
private static int[,] m_ArmorTable = {
// Gorget Gloves Helmet Arms Legs Chest Shield
/* Cloth */ { 0, 0, 0, 0, 0, 0, 0 },
/* Leather */ { 0, 0, 0, 0, 0, 0, 0 },

View file

@ -124,8 +124,7 @@ namespace Server.SkillHandlers
private Mobile m_From;
private int m_Range;
private static TrackTypeDelegate[] m_Delegates = new[]
{
private static TrackTypeDelegate[] m_Delegates = {
new TrackTypeDelegate( IsAnimal ),
new TrackTypeDelegate( IsMonster ),
new TrackTypeDelegate( IsHumanNPC ),