I am modifying the Cassius's Race Gates to change just the bodyvalue of the player, so he may still use any armor or weapons that he wants. Can I do that without affecting armor and weapons?
Anyway, I am getting the following errors trying to modify it----
+ 0-Customs/OgreRaceGate.cs:
CS1010: Line 14: Newline in constant
CS1520: Line 9: Method must have a return type
CS1002: Line 9: ; expected
CS1519: Line 11: Invalid token '=' in class, struct, or interface member declaration
CS1519: Line 12: Invalid token '=' in class, struct, or interface member declaration
CS1519: Line 12: Invalid token ';' in class, struct, or interface member declaration
CS1519: Line 13: Invalid token '=' in class, struct, or interface member declaration
CS1519: Line 14: Invalid token '=' in class, struct, or interface member declaration
CS1002: Line 14: ; expected
CS1519: Line 14: Invalid token '"; "' in class, struct, or interface member declaration
CS1518: Line 17: Expected class, delegate, enum, interface, or struct
CS1518: Line 21: Expected class, delegate, enum, interface, or struct
CS1518: Line 28: Expected class, delegate, enum, interface, or struct
CS1518: Line 36: Expected class, delegate, enum, interface, or struct
CS1022: Line 43: Type or namespace definition, or end-of-file expected
Here is the code I am working with----
//Created By Cassius for Order of The Red Dragon
using System;
namespace Server.Items
{
public class OgreRaceGate : Item
{
[Constructable]
public AngelRaceGate() : base(0xF6C)
{
Movable = false;
Light = LightType.Circle300;
Hue = 2647;
Name = Ogre Race Gate";
}
public AngelRaceGate(Serial serial) : base(serial)
{
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int) 0);
}
public override bool OnMoveOver( Mobile m )
{
m.SendMessage( "You are Now an Ogre" );
m.Title = "The Ogre";
m.PlayerMobile = 1
return false; //Changed this to false
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}