namespace Server.Items
{
    public class WoodenShield : BaseShield
    {
        [Constructible]
        public WoodenShield() : base(0x1B7A) => Weight = 5.0;

        public WoodenShield(Serial serial) : base(serial)
        {
        }

        public override int BasePhysicalResistance => 0;
        public override int BaseFireResistance => 0;
        public override int BaseColdResistance => 0;
        public override int BasePoisonResistance => 0;
        public override int BaseEnergyResistance => 1;

        public override int InitMinHits => 20;
        public override int InitMaxHits => 25;

        public override int AosStrReq => 20;

        public override int ArmorBase => 8;

        public override void Deserialize(IGenericReader reader)
        {
            base.Deserialize(reader);

            var version = reader.ReadInt();
        }

        public override void Serialize(IGenericWriter writer)
        {
            base.Serialize(writer);

            writer.Write(0); // version
        }
    }
}
