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

@ -38,7 +38,7 @@ namespace Server.Spells
max = avg + ChanceOffset;
}
private static int[] m_ManaTable = new int[] { 4, 6, 9, 11, 14, 20, 40, 50 };
private static int[] m_ManaTable = new[] { 4, 6, 9, 11, 14, 20, 40, 50 };
public override int GetMana()
{

View file

@ -437,7 +437,7 @@ namespace Server.Spells
return (noto != Notoriety.Innocent || from.Kills >= 5);
}
private static int[] m_Offsets = new int[]
private static int[] m_Offsets = new[]
{
-1, -1,
-1, 0,
@ -563,7 +563,7 @@ namespace Server.Spells
private delegate bool TravelValidator( Map map, Point3D loc );
private static TravelValidator[] m_Validators = new TravelValidator[]
private static TravelValidator[] m_Validators = new[]
{
new TravelValidator( IsFeluccaT2A ),
new TravelValidator( IsKhaldun ),
@ -586,7 +586,7 @@ namespace Server.Spells
new TravelValidator( IsMLDungeon )
};
private static bool[,] m_Rules = new bool[,]
private static bool[,] m_Rules = new[,]
{
/*T2A(Fel), Khaldun, Ilshenar, Wind(Tram), Wind(Fel), Dungeons(Fel), Solen(Tram), Solen(Fel), CrystalCave(Malas), Gauntlet(Malas), Gauntlet(Ferry), SafeZone, Stronghold, ChampionSpawn, Dungeons(Tokuno[Malas]), LampRoom(Doom), GuardianRoom(Doom), Heartwood, MLDungeons */
/* Recall From */ { false, false, true, true, false, false, true, false, false, false, false, true, true, false, true, false, false, false, false },

View file

@ -127,7 +127,7 @@ namespace Server.Spells
return null;
}
private static string[] m_CircleNames = new string[]
private static string[] m_CircleNames = new[]
{
"First",
"Second",