/**********************************************************
RunUO AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by Red Squirrel on Sep-25-2011 07:40:09pm
Filepath: scripts\Items\Artifacts\stealable\doom\LegacyOfTheDreadLord.cs
Lines of code: 37

Description: 

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


using System;
using Server;

namespace Server.Items
{
	public class LegacyOfTheDreadLord : Bardiche
	{
		public override int LabelNumber{ get{ return 1060860; } } // Legacy of the Dread Lord
		

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

		[Constructable]
		public LegacyOfTheDreadLord()
		{
			Hue = 0x676;
			Attributes.SpellChanneling = 1;
			Attributes.CastRecovery = 3;
			Attributes.WeaponSpeed = 30;
			Attributes.WeaponDamage = 50;
		}

		public LegacyOfTheDreadLord( 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();

			if ( Attributes.CastSpeed == 3 )
				Attributes.CastRecovery = 3;

			if ( Hue == 0x4B9 )
				Hue = 0x676;
		}
	}
}