
//////////////////////////
//Created by LostSinner//
////////////////////////
using System;
using Server;

namespace Server.Items
{
	public class BraceletOfTalon : GoldBracelet
	{

        private StatMod m_StatMod90;

		[Constructable]
		public BraceletOfTalon()
		{
			Hue = 37;
			Name = "Talonuv naramek";
		}

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

//         public override void OnAdded(object parent)
//         {
//             if (parent is Mobile)
//             {
//                 Mobile from = (Mobile)parent;
// 
// //                 m_StatMod90 = new StatMod(StatType.Int, "MOD90", -1000, TimeSpan.Zero);
// //                 from.AddStatMod(m_StatMod90);
// //                from.SendMessage("Nyni jsi pod ochranou naramku!");
//             }
//             base.OnAdded(parent);
//         }
// 
//         public override void OnRemoved(object parent)
//         {
//             if (parent is Mobile)
//             {
//                 Mobile from = (Mobile)parent;
//                from.SendMessage("Ochrana moc naramku pominula!");
// //                 Item x = from.Backpack.FindItemByType(typeof(Marker2));
// //                 if (x != null)
// //                 {
// //                     BaseWeapon weapon = from.Weapon as BaseWeapon;
// // 
// //                     from.RemoveStatMod("MOD90");
// //                 }
// //                 else
// //                 {
// //                     from.SendMessage("Kletbu nelze sejmout dokud nepouzijes merlinovu hul!");
// //                 }
//             }
//         }

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