Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -1107,8 +1107,7 @@ namespace Server.Mobiles
|
|||
return ( (double)chance / 1000 );
|
||||
}
|
||||
|
||||
private static Type[] m_AnimateDeadTypes = new[]
|
||||
{
|
||||
private static Type[] m_AnimateDeadTypes = {
|
||||
typeof( MoundOfMaggots ), typeof( HellSteed ), typeof( SkeletalMount ),
|
||||
typeof( WailingBanshee ), typeof( Wraith ), typeof( SkeletalDragon ),
|
||||
typeof( LichLord ), typeof( FleshGolem ), typeof( Lich ),
|
||||
|
|
@ -1810,13 +1809,11 @@ namespace Server.Mobiles
|
|||
writer.Write( m_HomeMap );
|
||||
}
|
||||
|
||||
private static double[] m_StandardActiveSpeeds = new[]
|
||||
{
|
||||
private static double[] m_StandardActiveSpeeds = {
|
||||
0.175, 0.1, 0.15, 0.2, 0.25, 0.3, 0.4, 0.5, 0.6, 0.8
|
||||
};
|
||||
|
||||
private static double[] m_StandardPassiveSpeeds = new[]
|
||||
{
|
||||
private static double[] m_StandardPassiveSpeeds = {
|
||||
0.350, 0.2, 0.4, 0.5, 0.6, 0.8, 1.0, 1.2, 1.6, 2.0
|
||||
};
|
||||
|
||||
|
|
@ -2100,23 +2097,19 @@ namespace Server.Mobiles
|
|||
public override bool ShouldCheckStatTimers => false;
|
||||
|
||||
#region Food
|
||||
private static Type[] m_Eggs = new[]
|
||||
{
|
||||
private static Type[] m_Eggs = {
|
||||
typeof( FriedEggs ), typeof( Eggs )
|
||||
};
|
||||
|
||||
private static Type[] m_Fish = new[]
|
||||
{
|
||||
private static Type[] m_Fish = {
|
||||
typeof( FishSteak ), typeof( RawFishSteak )
|
||||
};
|
||||
|
||||
private static Type[] m_GrainsAndHay = new[]
|
||||
{
|
||||
private static Type[] m_GrainsAndHay = {
|
||||
typeof( BreadLoaf ), typeof( FrenchBread ), typeof( SheafOfHay )
|
||||
};
|
||||
|
||||
private static Type[] m_Meat = new[]
|
||||
{
|
||||
private static Type[] m_Meat = {
|
||||
/* Cooked */
|
||||
typeof( Bacon ), typeof( CookedBird ), typeof( Sausage ),
|
||||
typeof( Ham ), typeof( Ribs ), typeof( LambLeg ),
|
||||
|
|
@ -2131,8 +2124,7 @@ namespace Server.Mobiles
|
|||
typeof( Torso ), typeof( RightArm ), typeof( RightLeg )
|
||||
};
|
||||
|
||||
private static Type[] m_FruitsAndVegies = new[]
|
||||
{
|
||||
private static Type[] m_FruitsAndVegies = {
|
||||
typeof( HoneydewMelon ), typeof( YellowGourd ), typeof( GreenGourd ),
|
||||
typeof( Banana ), typeof( Bananas ), typeof( Lemon ), typeof( Lime ),
|
||||
typeof( Dates ), typeof( Grapes ), typeof( Peach ), typeof( Pear ),
|
||||
|
|
@ -2141,8 +2133,7 @@ namespace Server.Mobiles
|
|||
typeof( Onion ), typeof( Lettuce ), typeof( Pumpkin )
|
||||
};
|
||||
|
||||
private static Type[] m_Gold = new[]
|
||||
{
|
||||
private static Type[] m_Gold = {
|
||||
// white wyrms eat gold..
|
||||
typeof( Gold )
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue