diff --git a/Scripts/Items/Containers/BaseTreasureChest.cs b/Scripts/Items/Containers/BaseTreasureChest.cs index bca9c872e..dbad61b42 100644 --- a/Scripts/Items/Containers/BaseTreasureChest.cs +++ b/Scripts/Items/Containers/BaseTreasureChest.cs @@ -54,17 +54,13 @@ namespace Server.Items [CommandProperty( AccessLevel.GameMaster )] public override bool Locked { - get { return m_Locked; } + get { return base.Locked; } set { - if ( m_Locked != value ) { - m_Locked = value; + if ( base.Locked != value ) { + base.Locked = value; - if ( !m_Locked ) + if ( !value ) StartResetTimer(); - else - m_Picker = null; - - InvalidateProperties(); } } } diff --git a/Scripts/Spells/Third/Unlock.cs b/Scripts/Spells/Third/Unlock.cs index 274fe5ca0..d64a3f715 100644 --- a/Scripts/Spells/Third/Unlock.cs +++ b/Scripts/Spells/Third/Unlock.cs @@ -44,7 +44,7 @@ namespace Server.Spells.Third if ( m_Owner.CheckSequence() ) { SpellHelper.Turn( from, o ); - Effects.SendLocationParticles( EffectItem.Create( loc, from.Map, EffectItem.DefaultDuration ), 0x376A, 9, 32, 5024 ); + Effects.SendLocationParticles( EffectItem.Create( (Point3D)loc, from.Map, EffectItem.DefaultDuration ), 0x376A, 9, 32, 5024 ); Effects.PlaySound( loc, from.Map, 0x1FF ); @@ -72,9 +72,7 @@ namespace Server.Spells.Third } else from.LocalOverheadMessage( MessageType.Regular, 0x3B2, 503099 ); // My spell does not seem to have an effect on that lock. - } - else - + } } }