mirror of
https://github.com/runuo/runuo
synced 2026-08-11 22:26:04 -04:00
108 lines
No EOL
1.9 KiB
C#
108 lines
No EOL
1.9 KiB
C#
using System;
|
|
using Server.Items;
|
|
|
|
namespace Server.Spells
|
|
{
|
|
public class Reagent
|
|
{
|
|
private static Type[] m_Types = new Type[13]
|
|
{
|
|
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 )
|
|
};
|
|
|
|
public Type[] Types
|
|
{
|
|
get{ return m_Types; }
|
|
}
|
|
|
|
public static Type BlackPearl
|
|
{
|
|
get{ return m_Types[0]; }
|
|
set{ m_Types[0] = value; }
|
|
}
|
|
|
|
public static Type Bloodmoss
|
|
{
|
|
get{ return m_Types[1]; }
|
|
set{ m_Types[1] = value; }
|
|
}
|
|
|
|
public static Type Garlic
|
|
{
|
|
get{ return m_Types[2]; }
|
|
set{ m_Types[2] = value; }
|
|
}
|
|
|
|
public static Type Ginseng
|
|
{
|
|
get{ return m_Types[3]; }
|
|
set{ m_Types[3] = value; }
|
|
}
|
|
|
|
public static Type MandrakeRoot
|
|
{
|
|
get{ return m_Types[4]; }
|
|
set{ m_Types[4] = value; }
|
|
}
|
|
|
|
public static Type Nightshade
|
|
{
|
|
get{ return m_Types[5]; }
|
|
set{ m_Types[5] = value; }
|
|
}
|
|
|
|
public static Type SulfurousAsh
|
|
{
|
|
get{ return m_Types[6]; }
|
|
set{ m_Types[6] = value; }
|
|
}
|
|
|
|
public static Type SpidersSilk
|
|
{
|
|
get{ return m_Types[7]; }
|
|
set{ m_Types[7] = value; }
|
|
}
|
|
|
|
public static Type BatWing
|
|
{
|
|
get{ return m_Types[8]; }
|
|
set{ m_Types[8] = value; }
|
|
}
|
|
|
|
public static Type GraveDust
|
|
{
|
|
get{ return m_Types[9]; }
|
|
set{ m_Types[9] = value; }
|
|
}
|
|
|
|
public static Type DaemonBlood
|
|
{
|
|
get{ return m_Types[10]; }
|
|
set{ m_Types[10] = value; }
|
|
}
|
|
|
|
public static Type NoxCrystal
|
|
{
|
|
get{ return m_Types[11]; }
|
|
set{ m_Types[11] = value; }
|
|
}
|
|
|
|
public static Type PigIron
|
|
{
|
|
get{ return m_Types[12]; }
|
|
set{ m_Types[12] = value; }
|
|
}
|
|
}
|
|
} |