namespace Server.Items { public abstract class BaseArtifactLight : BaseLight, IArtifact { public abstract int ArtifactRarity { get; } public virtual bool ShowArtifactRarity => true; public BaseArtifactLight(int itemID) : base(itemID) { } public BaseArtifactLight(Serial serial) : base(serial) { } public override void GetProperties(ObjectPropertyList list) { base.GetProperties(list); if (ShowArtifactRarity) list.Add(1061078, ArtifactRarity.ToString()); // artifact rarity ~1_val~ } public override void Serialize(GenericWriter writer) { base.Serialize(writer); writer.Write(0); } public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); } } }