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

Description: 

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


using System;
using Server;

namespace Server.Items
{
	public class TheHolyFortress : StuddedChest
	{
		public override int ArtifactRarity{ get{ return 11; } }
		public override int BasePhysicalResistance{ get{ return 18; } }
		public override int BaseFireResistance{ get{ return 14; } }
		public override int BaseColdResistance{ get{ return 14; } }
		public override int BasePoisonResistance{ get{ return 1; } }
		public override int BaseEnergyResistance{ get{ return 15; } }

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

		[Constructable]
		public TheHolyFortress()
		{
			Name = "The Holy Fortress";
			Hue = 2124;
			Attributes.LowerManaCost = 10;
			ArmorAttributes.MageArmor = 1;
		}

		public TheHolyFortress( 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();
		}
		
		public override void OnAfterLoad()
		{		
			Misc.ObjectConverter.ConvertItem(this,new RedDevilsDominion());
		}		
	}
}