diff --git a/Scripts/Items/Treasure/LootChest.cs b/Scripts/Items/Treasure/LootChest.cs index 662f9cf..73659a3 100644 --- a/Scripts/Items/Treasure/LootChest.cs +++ b/Scripts/Items/Treasure/LootChest.cs @@ -28,6 +28,8 @@ namespace Server.Items [CommandProperty( AccessLevel.GameMaster )] public DateTime ResetTime{ get{ return m_ResetTime; } } + public override bool IsDecoContainer { get { return false; } } + [Constructable] public LootChest() : base( 0xE40 ) { @@ -138,6 +140,9 @@ namespace Server.Items int i_Difficulty = ( m_Level * 18 ) + ( m_Category * 10 ); + if ( i_Difficulty > 100 ) + i_Difficulty = 100; + if ( Utility.RandomMinMax(1,100) < i_Difficulty && !NeverLock() ) { Locked = true;