Fixes code according to modern code style. Fixes a few expression bugs.

This commit is contained in:
Kamron Batman 2018-09-15 09:58:51 -07:00
parent 89eea25e5f
commit 970fd563b2
3324 changed files with 441118 additions and 433755 deletions

View file

@ -3,130 +3,131 @@ using Server.Items;
namespace Server.Spells
{
public class Reagent
{
private static Type[] m_Types = {
typeof( BlackPearl ),
typeof( Bloodmoss ),
typeof( Garlic ),
typeof( Ginseng ),
typeof( MandrakeRoot ),
typeof( Nightshade ),
typeof( SulfurousAsh ),
typeof( SpidersSilk ),
typeof( BatWing ),
typeof( GraveDust ),
typeof( DaemonBlood ),
typeof( NoxCrystal ),
typeof( PigIron ),
typeof( Bone ),
typeof( FertileDirt ),
typeof( DragonsBlood ),
typeof( DaemonBone )
};
public class Reagent
{
private static Type[] m_Types =
{
typeof(BlackPearl),
typeof(Bloodmoss),
typeof(Garlic),
typeof(Ginseng),
typeof(MandrakeRoot),
typeof(Nightshade),
typeof(SulfurousAsh),
typeof(SpidersSilk),
typeof(BatWing),
typeof(GraveDust),
typeof(DaemonBlood),
typeof(NoxCrystal),
typeof(PigIron),
typeof(Bone),
typeof(FertileDirt),
typeof(DragonsBlood),
typeof(DaemonBone)
};
public Type[] Types => m_Types;
public Type[] Types => m_Types;
public static Type BlackPearl
{
get => m_Types[0];
set => m_Types[0] = value;
}
public static Type BlackPearl
{
get => m_Types[0];
set => m_Types[0] = value;
}
public static Type Bloodmoss
{
get => m_Types[1];
set => m_Types[1] = value;
}
public static Type Bloodmoss
{
get => m_Types[1];
set => m_Types[1] = value;
}
public static Type Garlic
{
get => m_Types[2];
set => m_Types[2] = value;
}
public static Type Garlic
{
get => m_Types[2];
set => m_Types[2] = value;
}
public static Type Ginseng
{
get => m_Types[3];
set => m_Types[3] = value;
}
public static Type Ginseng
{
get => m_Types[3];
set => m_Types[3] = value;
}
public static Type MandrakeRoot
{
get => m_Types[4];
set => m_Types[4] = value;
}
public static Type MandrakeRoot
{
get => m_Types[4];
set => m_Types[4] = value;
}
public static Type Nightshade
{
get => m_Types[5];
set => m_Types[5] = value;
}
public static Type Nightshade
{
get => m_Types[5];
set => m_Types[5] = value;
}
public static Type SulfurousAsh
{
get => m_Types[6];
set => m_Types[6] = value;
}
public static Type SulfurousAsh
{
get => m_Types[6];
set => m_Types[6] = value;
}
public static Type SpidersSilk
{
get => m_Types[7];
set => m_Types[7] = value;
}
public static Type SpidersSilk
{
get => m_Types[7];
set => m_Types[7] = value;
}
public static Type BatWing
{
get => m_Types[8];
set => m_Types[8] = value;
}
public static Type BatWing
{
get => m_Types[8];
set => m_Types[8] = value;
}
public static Type GraveDust
{
get => m_Types[9];
set => m_Types[9] = value;
}
public static Type GraveDust
{
get => m_Types[9];
set => m_Types[9] = value;
}
public static Type DaemonBlood
{
get => m_Types[10];
set => m_Types[10] = value;
}
public static Type DaemonBlood
{
get => m_Types[10];
set => m_Types[10] = value;
}
public static Type NoxCrystal
{
get => m_Types[11];
set => m_Types[11] = value;
}
public static Type NoxCrystal
{
get => m_Types[11];
set => m_Types[11] = value;
}
public static Type PigIron
{
get => m_Types[12];
set => m_Types[12] = value;
}
public static Type PigIron
{
get => m_Types[12];
set => m_Types[12] = value;
}
public static Type Bone
{
get => m_Types[13];
set => m_Types[13] = value;
}
public static Type Bone
{
get => m_Types[13];
set => m_Types[13] = value;
}
public static Type FertileDirt
{
get => m_Types[14];
set => m_Types[14] = value;
}
public static Type FertileDirt
{
get => m_Types[14];
set => m_Types[14] = value;
}
public static Type DragonsBlood
{
get => m_Types[15];
set => m_Types[15] = value;
}
public static Type DragonsBlood
{
get => m_Types[15];
set => m_Types[15] = value;
}
public static Type DaemonBone
{
get => m_Types[16];
set => m_Types[16] = value;
}
}
}
public static Type DaemonBone
{
get => m_Types[16];
set => m_Types[16] = value;
}
}
}