using System;
using Server;

namespace Server.Items
{
	public class GlovesOfSafeguarding : LeatherGloves
	{
		public override int LabelNumber{ get{ return 1077614; } } // Gloves of Safeguarding

		public override int BasePhysicalResistance{ get{ return 6; } }
		public override int BaseFireResistance{ get{ return 6; } }
		public override int BaseColdResistance{ get{ return 5; } }
		public override int BasePoisonResistance{ get{ return 5; } }
		public override int BaseEnergyResistance{ get{ return 5; } }

		[Constructable]
		public GlovesOfSafeguarding()
		{
			LootType = LootType.Blessed;

			Attributes.BonusStam = 3;
			Attributes.RegenHits = 1;
		}

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

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

			writer.WriteEncodedInt( 0 ); // version
		}

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

			int version = reader.ReadEncodedInt();
		}
	}
}
