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

@ -2,7 +2,7 @@ namespace Server.Items
{
public class CurePotion : BaseCurePotion
{
private static CureLevelInfo[] m_OldLevelInfo = new CureLevelInfo[]
private static CureLevelInfo[] m_OldLevelInfo = new[]
{
new CureLevelInfo( Poison.Lesser, 1.00 ), // 100% chance to cure lesser poison
new CureLevelInfo( Poison.Regular, 0.75 ), // 75% chance to cure regular poison
@ -10,7 +10,7 @@ namespace Server.Items
new CureLevelInfo( Poison.Deadly, 0.15 ) // 15% chance to cure deadly poison
};
private static CureLevelInfo[] m_AosLevelInfo = new CureLevelInfo[]
private static CureLevelInfo[] m_AosLevelInfo = new[]
{
new CureLevelInfo( Poison.Lesser, 1.00 ),
new CureLevelInfo( Poison.Regular, 0.95 ),

View file

@ -2,7 +2,7 @@ namespace Server.Items
{
public class GreaterCurePotion : BaseCurePotion
{
private static CureLevelInfo[] m_OldLevelInfo = new CureLevelInfo[]
private static CureLevelInfo[] m_OldLevelInfo = new[]
{
new CureLevelInfo( Poison.Lesser, 1.00 ), // 100% chance to cure lesser poison
new CureLevelInfo( Poison.Regular, 1.00 ), // 100% chance to cure regular poison
@ -11,7 +11,7 @@ namespace Server.Items
new CureLevelInfo( Poison.Lethal, 0.25 ) // 25% chance to cure lethal poison
};
private static CureLevelInfo[] m_AosLevelInfo = new CureLevelInfo[]
private static CureLevelInfo[] m_AosLevelInfo = new[]
{
new CureLevelInfo( Poison.Lesser, 1.00 ),
new CureLevelInfo( Poison.Regular, 1.00 ),

View file

@ -2,14 +2,14 @@ namespace Server.Items
{
public class LesserCurePotion : BaseCurePotion
{
private static CureLevelInfo[] m_OldLevelInfo = new CureLevelInfo[]
private static CureLevelInfo[] m_OldLevelInfo = new[]
{
new CureLevelInfo( Poison.Lesser, 0.75 ), // 75% chance to cure lesser poison
new CureLevelInfo( Poison.Regular, 0.50 ), // 50% chance to cure regular poison
new CureLevelInfo( Poison.Greater, 0.15 ) // 15% chance to cure greater poison
};
private static CureLevelInfo[] m_AosLevelInfo = new CureLevelInfo[]
private static CureLevelInfo[] m_AosLevelInfo = new[]
{
new CureLevelInfo( Poison.Lesser, 0.75 ),
new CureLevelInfo( Poison.Regular, 0.50 ),