Diesel
Member
CReagent.cs is giving me a problem with the newest ServUO repo
I am getting this error.
+ Customs/Lokai Systems/ACC Systems/Complete Spell System/-=+ 02 Changing/CReag
ent.cs:
CS0118: Line 11: 'Server.ACC.CSS.CReagent.SpringWater' is a 'property' but i
s used like a 'type'
CS0118: Line 12: 'Server.ACC.CSS.CReagent.DestroyingAngel' is a 'property' b
ut is used like a 'type'
CS0118: Line 13: 'Server.ACC.CSS.CReagent.PetrafiedWood' is a 'property' but
is used like a 'type'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
On this script
using System;
using Server;
using Server.Items;
namespace Server.ACC.CSS
{
public class CReagent
{
private static Type[] m_Types = new Type[4]
{
typeof( SpringWater ),
typeof( DestroyingAngel ),
typeof( PetrafiedWood ),
typeof( Kindling )
};
public static Type SpringWater
{
get{ return m_Types[0]; }
set{ m_Types[0] = value; }
}
public static Type DestroyingAngel
{
get{ return m_Types[1]; }
set{ m_Types[1] = value; }
}
public static Type PetrafiedWood
{
get{ return m_Types[2]; }
set{ m_Types[2] = value; }
}
public static Type Kindling
{
get{ return m_Types[3]; }
set{ m_Types[3] = value; }
}
}
}
I think the issue is in the colored section. Added the file as an upload. Any help is appreciated.
I am getting this error.
+ Customs/Lokai Systems/ACC Systems/Complete Spell System/-=+ 02 Changing/CReag
ent.cs:
CS0118: Line 11: 'Server.ACC.CSS.CReagent.SpringWater' is a 'property' but i
s used like a 'type'
CS0118: Line 12: 'Server.ACC.CSS.CReagent.DestroyingAngel' is a 'property' b
ut is used like a 'type'
CS0118: Line 13: 'Server.ACC.CSS.CReagent.PetrafiedWood' is a 'property' but
is used like a 'type'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
On this script
using System;
using Server;
using Server.Items;
namespace Server.ACC.CSS
{
public class CReagent
{
private static Type[] m_Types = new Type[4]
{
typeof( SpringWater ),
typeof( DestroyingAngel ),
typeof( PetrafiedWood ),
typeof( Kindling )
};
public static Type SpringWater
{
get{ return m_Types[0]; }
set{ m_Types[0] = value; }
}
public static Type DestroyingAngel
{
get{ return m_Types[1]; }
set{ m_Types[1] = value; }
}
public static Type PetrafiedWood
{
get{ return m_Types[2]; }
set{ m_Types[2] = value; }
}
public static Type Kindling
{
get{ return m_Types[3]; }
set{ m_Types[3] = value; }
}
}
}
I think the issue is in the colored section. Added the file as an upload. Any help is appreciated.