Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -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 ),
|
||||
|
|
|
|||
|
|
@ -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 ),
|
||||
|
|
|
|||
|
|
@ -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 ),
|
||||
|
|
|
|||
|
|
@ -804,7 +804,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
private static int[] m_LegendPropertyCounts = new int[]
|
||||
private static int[] m_LegendPropertyCounts = new[]
|
||||
{
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 properties : 21/52 : 40%
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 1 property : 15/52 : 29%
|
||||
|
|
@ -813,7 +813,7 @@ namespace Server.Items
|
|||
|
||||
};
|
||||
|
||||
private static int[] m_ElderPropertyCounts = new int[]
|
||||
private static int[] m_ElderPropertyCounts = new[]
|
||||
{
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,// 0 properties : 15/34 : 44%
|
||||
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 1 property : 10/34 : 29%
|
||||
|
|
@ -821,7 +821,7 @@ namespace Server.Items
|
|||
3, 3, 3 // 3 properties : 3/34 : 9%
|
||||
};
|
||||
|
||||
private static int[] m_GrandPropertyCounts = new int[]
|
||||
private static int[] m_GrandPropertyCounts = new[]
|
||||
{
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0 properties : 10/20 : 50%
|
||||
1, 1, 1, 1, 1, 1, // 1 property : 6/20 : 30%
|
||||
|
|
@ -829,14 +829,14 @@ namespace Server.Items
|
|||
3 // 3 properties : 1/20 : 5%
|
||||
};
|
||||
|
||||
private static int[] m_MasterPropertyCounts = new int[]
|
||||
private static int[] m_MasterPropertyCounts = new[]
|
||||
{
|
||||
0, 0, 0, 0, 0, 0, // 0 properties : 6/10 : 60%
|
||||
1, 1, 1, // 1 property : 3/10 : 30%
|
||||
2 // 2 properties : 1/10 : 10%
|
||||
};
|
||||
|
||||
private static int[] m_AdeptPropertyCounts = new int[]
|
||||
private static int[] m_AdeptPropertyCounts = new[]
|
||||
{
|
||||
0, 0, 0, // 0 properties : 3/4 : 75%
|
||||
1 // 1 property : 1/4 : 25%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue