/**********************************************************
RunUO 2.0 AoV C# script file
Official Age of Valor Script :: www.uovalor.com
Last modified by 
Filepath: scripts\_custom\engines\dawns music box\Quest\Dawn.cs
Lines of code: 76
***********************************************************/


using System;
using Server;
using Server.Items;
using Server.Items.MusicBox;

namespace Server.Mobiles
{
	[CorpseName( "Dawn's corpse" )]
	public class Dawn : BaseCreature
	{
		[Constructable]
		public Dawn() : base( AIType.AI_Mage, FightMode.Closest, 10, 1, 0.2, 0.4 )
		{
			Name = "Dawn";
			Title = "The Corrupted";
			Body = 774;
			Hue = 0;
			BaseSoundID = 0x4B0;

			SetStr( 700, 800 );
			SetDex( 1510, 1750 );
			SetInt( 310, 400 );

			SetHits( 1999, 2500);

			SetDamage( 17, 21 );

			SetDamageType( ResistanceType.Physical, 50 );
			SetDamageType( ResistanceType.Cold, 50 );

			SetResistance( ResistanceType.Physical, 50 );
			SetResistance( ResistanceType.Fire, 45 );
			SetResistance( ResistanceType.Cold, 45 );
			SetResistance( ResistanceType.Poison, 45 );
			SetResistance( ResistanceType.Energy, 45 );

			SetSkill( SkillName.EvalInt, 170.0 );
			SetSkill( SkillName.Magery, 170.0 );
			SetSkill( SkillName.Meditation, 170.0 );
			SetSkill( SkillName.MagicResist, 90.0 );
			SetSkill( SkillName.Tactics, 170.0 );
			SetSkill( SkillName.Wrestling, 170.0 );

       		       

			Fame = 35000;
			Karma = -35000;

			VirtualArmor = 64;
			
			PackGold( 1700, 2050 );
                        PackReg( 20 );
                        PackMagicItems( 1, 5 );
                        PackMagicItems( 1, 5 );
                        PackMagicItems( 1, 5 );
                        PackMagicItems( 1, 5 );
                        PackMagicItems( 1, 5 );
                        PackMagicItems( 3, 5 );
                        PackMagicItems( 3, 5 );
                        PackMagicItems( 3, 5 );
                        PackMagicItems( 4, 5 );
                        PackMagicItems( 4, 5 );

                      switch ( Utility.Random( 2 ) ) 
                        { 
                          case 0: PackItem( new MusicBox( ) ); 
                          break; 
                          
                        } 
                } 



		public override bool Unprovokable{ get{ return true; } }
		public override bool AlwaysMurderer{ get{ return true; } }
		public override bool Uncalmable{ get{ return true; } }
		public override Poison PoisonImmune{ get{ return Poison.Lethal; } }
		public override int TreasureMapLevel{ get{ return 1; } }

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