/**********************************************************
RunUO AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by Red Squirrel on Aug-08-2011 09:29:13pm
Filepath: scripts\Items\artifacts\Artifacts of Assimilation\greater\cursedprotection.cs
Lines of code: 41

Description: 

***********************************************************/


using Server;
using System;

namespace Server.Items
{
	
	public class cursedprotection : PlateChest
	{
		public override int InitMinHits{ get{ return 255; } }
		public override int InitMaxHits{ get { return 255; } }
		
		public override int BasePhysicalResistance{ get{ return 50; } }
		public override int BaseFireResistance{ get{ return 50; } }
		public override int BaseColdResistance{ get{ return 50; } }
		public override int BasePoisonResistance{ get{ return 50; } }
		public override int BaseEnergyResistance{ get{ return 50; } }

		
		[Constructable]
		public cursedprotection() : base()
		{
		Name="The Cursed Protection";
		Hue=1344;
		LootType=LootType.Cursed;

		ArmorAttributes.LowerStatReq = 40;
		ArmorAttributes.SelfRepair = 5;	
		}
		

		

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

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

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

			int version = reader.ReadInt();
		}
		
		public override void OnAfterLoad()
		{		
			Misc.ObjectConverter.ConvertItem(this,new LifesBarricade());
		}		
	}
	
}