/**********************************************************
RunUO 2.0 AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by 
Filepath: scripts\_custom\items\10th Anniversary artifacts\HelmOfSpirituality.cs
Lines of code: 50
***********************************************************/


using Server;
using System;

namespace Server.Items
{
	
	public class HelmOfSpirituality : LeatherCap
	{
		public override int LabelNumber{ get{ return 1075237; } } //Helm of Spirituality (Virtue Armor Set)
	
		public override int InitMinHits{ get{ return 255; } }
		public override int InitMaxHits{ get { return 255; } }
		
		public override ArmorSet armorset{get{return new VirtueArmorSet();}}		
		
		public override int BasePhysicalResistance{ get{ return 0; } }
		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; } }	

		[Constructable]
		public HelmOfSpirituality() : base()
		{
		LootType=LootType.Blessed;
		ItemID=11024;		
		}
				
		//properties - note, for armor set these are used instead of the constructor		
		
		public override void ArmorSetAttributes()
		{
		ArmorSetOff_ResistBonuses.Physical=8;
		ArmorSetOff_ResistBonuses.Fire=8;
		ArmorSetOff_ResistBonuses.Cold=7;
		ArmorSetOff_ResistBonuses.Poison=9;
		ArmorSetOff_ResistBonuses.Energy=8;

		ArmorSetOn_ResistBonuses.Physical=20;
		ArmorSetOn_ResistBonuses.Fire=20;
		ArmorSetOn_ResistBonuses.Cold=20;
		ArmorSetOn_ResistBonuses.Poison=20;
		ArmorSetOn_ResistBonuses.Energy=20;			
		
		ArmorSetOn_ArmorAttributes.SelfRepair=20;		
		}	
		
		

		

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

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

			writer.Write( (int) 0 );
		}
		
		public override void Deserialize(GenericReader reader)
		{
			base.Deserialize( reader );

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