public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);
            int version = reader.ReadInt( );

            m_Parent  = ( DestroyableItem )reader.ReadItem( );
            Frozen    = ( bool )reader.ReadBool( );
            Paralyzed = ( bool )reader.ReadBool( );
            CantWalk  = ( bool )reader.ReadBool( );
            DamageMin = ( int )reader.ReadInt( );
            DamageMax = ( int )reader.ReadInt( );
            BodyValue = ( int )reader.ReadInt( );
        }
        public IDestroyableItem(DestroyableItem parent)
            : base(AIType.AI_Melee, FightMode.None, 1, 1, 0.2, 0.4)
        {
            if (parent != null && !parent.Deleted)
            {
                m_Parent = parent;
            }

            Name = null;

            Body         = 906;
            BodyValue    = 906;
            Hue          = 0;
            BaseSoundID  = 0;
            Fame         = 0;
            Karma        = 0;
            ControlSlots = 0;
            Tamable      = false;

            Frozen    = true;
            Paralyzed = true;
            CantWalk  = true;

            DamageMin = 0;
            DamageMax = 0;

            SetStr(m_Parent.HitsMax);
            SetHits(m_Parent.HitsMax);
            Hits = m_Parent.Hits;

            for (int skill = 0; skill < this.Skills.Length; skill++)
            {
                this.Skills[( SkillName )skill].Cap  = 0.0;
                this.Skills[( SkillName )skill].Base = 0.0;
            }

            Update( );
        }
        public override void Deserialize( GenericReader reader )
        {
            base.Deserialize( reader );
            int version = reader.ReadInt( );

            m_Parent = ( DestroyableItem )reader.ReadItem( );
            Frozen = ( bool )reader.ReadBool( );
            Paralyzed = ( bool )reader.ReadBool( );
            CantWalk = ( bool )reader.ReadBool( );
            DamageMin = ( int )reader.ReadInt( );
            DamageMax = ( int )reader.ReadInt( );
            BodyValue = ( int )reader.ReadInt( );
        }
        public IDestroyableItem( DestroyableItem parent )
            : base(AIType.AI_Melee, FightMode.None, 1, 1, 0.2, 0.4)
        {
            if( parent != null && !parent.Deleted )
                m_Parent = parent;

            Name = null;

            Body = 906;
            BodyValue = 906;
            Hue = 0;
            BaseSoundID = 0;
            Fame = 0;
            Karma = 0;
            ControlSlots = 0;
            Tamable = false;

            Frozen = true;
            Paralyzed = true;
            CantWalk = true;

            DamageMin = 0;
            DamageMax = 0;

            SetStr( m_Parent.HitsMax );
            SetHits( m_Parent.HitsMax );
            Hits = m_Parent.Hits;

            for( int skill = 0; skill < this.Skills.Length; skill++ )
            {
                this.Skills[( SkillName )skill].Cap = 0.0;
                this.Skills[( SkillName )skill].Base = 0.0;
            }

            Update( );
        }