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

@ -804,8 +804,7 @@ namespace Server.Items
}
}
private static int[] m_LegendPropertyCounts = new[]
{
private static int[] m_LegendPropertyCounts = {
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%
2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // 2 properties : 10/52 : 19%
@ -813,31 +812,27 @@ namespace Server.Items
};
private static int[] m_ElderPropertyCounts = new[]
{
private static int[] m_ElderPropertyCounts = {
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%
2, 2, 2, 2, 2, 2, // 2 properties : 6/34 : 18%
3, 3, 3 // 3 properties : 3/34 : 9%
};
private static int[] m_GrandPropertyCounts = new[]
{
private static int[] m_GrandPropertyCounts = {
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%
2, 2, 2, // 2 properties : 3/20 : 15%
3 // 3 properties : 1/20 : 5%
};
private static int[] m_MasterPropertyCounts = new[]
{
private static int[] m_MasterPropertyCounts = {
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[]
{
private static int[] m_AdeptPropertyCounts = {
0, 0, 0, // 0 properties : 3/4 : 75%
1 // 1 property : 1/4 : 25%
};