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

@ -20,8 +20,7 @@ namespace Server.Items
WeaponAttributes.ResistPoisonBonus = 15;
}
private static SkillName[] m_PossibleBonusSkills = new[]
{
private static SkillName[] m_PossibleBonusSkills = {
SkillName.Archery,
SkillName.Healing,
SkillName.MagicResist,

View file

@ -14,8 +14,7 @@ namespace Server.Items
public SlayerName Name => m_Name;
public Type[] Types => m_Types;
private static int[] m_AosTitles = new[]
{
private static int[] m_AosTitles = {
1060479, // undead slayer
1060470, // orc slayer
1060480, // troll slayer
@ -45,8 +44,7 @@ namespace Server.Items
1070855 // fey slayer
};
private static int[] m_OldTitles = new[]
{
private static int[] m_OldTitles = {
1017384, // Silver
1017385, // Orc Slaying
1017386, // Troll Slaughter

View file

@ -92,8 +92,7 @@ namespace Server.Items
}
}
private static Type[] m_ChampTamables = new[]
{
private static Type[] m_ChampTamables = {
typeof( StrongMongbat ), typeof( Imp ), typeof( Scorpion ), typeof( GiantSpider ),
typeof( Snake ), typeof( LavaLizard ), typeof( Drake ), typeof( Dragon ),
typeof( Kirin ), typeof( Unicorn ), typeof( GiantRat ), typeof( Slime ),