using System;
using Server;
using Server.Guilds;
using Server.Engines.Craft;

namespace Server.Items
{
	[Alterable( typeof( DefBlacksmithy ), typeof( GargishChaosShield ) )]
	public class ChaosShield : BaseShield
	{
		public override int BasePhysicalResistance { get { return 1; } }
		public override int BaseFireResistance { get { return 0; } }
		public override int BaseColdResistance { get { return 0; } }
		public override int BasePoisonResistance { get { return 0; } }
		public override int BaseEnergyResistance { get { return 0; } }

		public override int InitMinHits { get { return 100; } }
		public override int InitMaxHits { get { return 125; } }

		public override int StrengthReq { get { return 95; } }

		[Constructable]
		public ChaosShield()
			: base( 0x1BC3 )
		{
			Weight = 5.0;
		}

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

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

			/*int version = */
			reader.ReadInt();
		}

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

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