cazec274
Member
I've been playing around with the script and this is what I have, but it keeps throwing and error.
private static Type[] m_WandTypes = new Type[]
{
typeof( IDWand)
};
public static Type[] NewWandTypes { get { return m_NewWandTypes; } }
private static readonly Type[] m_WandTypes = new[] { typeof(ClumsyWand), typeof(FeebleWand), typeof(ManaDrainWand), typeof(WeaknessWand) };
public static Type[] WandTypes { get { return m_WandTypes; } }
private static readonly Type[] m_OldWandTypes = new[] { typeof(IDWand) };
public static Type[] OldWandTypes { get { return m_OldWandTypes; } }
private static readonly Type[] m_SEClothingTypes = new[]
this is the error its throwing me. Not sure how to fix it since I'm learning as I go.
Errors:
+ Misc/Loot.cs:
CS0102: Line 349: The type 'Server.Loot' already contains a definition for 'm_WandTypes'
Scripts: One or more scripts failed to compile or no script files were found.
private static Type[] m_WandTypes = new Type[]
{
typeof( IDWand)
};
public static Type[] NewWandTypes { get { return m_NewWandTypes; } }
private static readonly Type[] m_WandTypes = new[] { typeof(ClumsyWand), typeof(FeebleWand), typeof(ManaDrainWand), typeof(WeaknessWand) };
public static Type[] WandTypes { get { return m_WandTypes; } }
private static readonly Type[] m_OldWandTypes = new[] { typeof(IDWand) };
public static Type[] OldWandTypes { get { return m_OldWandTypes; } }
private static readonly Type[] m_SEClothingTypes = new[]
this is the error its throwing me. Not sure how to fix it since I'm learning as I go.
Errors:
+ Misc/Loot.cs:
CS0102: Line 349: The type 'Server.Loot' already contains a definition for 'm_WandTypes'
Scripts: One or more scripts failed to compile or no script files were found.