using System;
using Server;

namespace Server.Items
{
    public class NightEyes : Glasses, ITokunoDyable
	{

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

		public override int InitMinHits{ get{ return 255; } }
		public override int InitMaxHits{ get{ return 255; } }

		[Constructable]
		public NightEyes() : base()
		{
			Name = ("Night Eyes");
		
			Hue = 26;
		
			Attributes.NightSight = 1;
			Attributes.DefendChance = 10;
			Attributes.CastRecovery = 3;			
		}

		public NightEyes( Serial serial ) : base( serial )
		{
		}
		
		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			
			writer.Write( (int) 0 ); // version
		}
		
		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize( reader );
			
			int version = reader.ReadInt();
		}
	}
}