Removes implicit this.
This commit is contained in:
parent
04b4cfe75b
commit
83dcf536d8
533 changed files with 2804 additions and 2806 deletions
|
|
@ -19,18 +19,18 @@ namespace Server.Items
|
|||
switch( Utility.RandomList( 0, 1, 2 ) )
|
||||
{
|
||||
case 0:// Large Crate
|
||||
this.ItemID = ( UseFirstItemId ? 0xe3c : 0xe3d );
|
||||
this.GumpID = 0x44;
|
||||
ItemID = ( UseFirstItemId ? 0xe3c : 0xe3d );
|
||||
GumpID = 0x44;
|
||||
break;
|
||||
|
||||
case 1:// Medium Crate
|
||||
this.ItemID = ( UseFirstItemId ? 0xe3e : 0xe3f );
|
||||
this.GumpID = 0x44;
|
||||
ItemID = ( UseFirstItemId ? 0xe3e : 0xe3f );
|
||||
GumpID = 0x44;
|
||||
break;
|
||||
|
||||
case 2:// Small Crate
|
||||
this.ItemID = ( UseFirstItemId ? 0x9a9 : 0xe7e );
|
||||
this.GumpID = 0x44;
|
||||
ItemID = ( UseFirstItemId ? 0x9a9 : 0xe7e );
|
||||
GumpID = 0x44;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
@ -45,7 +45,7 @@ namespace Server.Items
|
|||
public TreasureChestLevel1()
|
||||
: base( 0xE41 )
|
||||
{
|
||||
this.SetChestAppearance();
|
||||
SetChestAppearance();
|
||||
Movable = false;
|
||||
|
||||
TrapType = TrapType.DartTrap;
|
||||
|
|
@ -53,8 +53,8 @@ namespace Server.Items
|
|||
Locked = true;
|
||||
|
||||
RequiredSkill = 57;
|
||||
LockLevel = this.RequiredSkill - Utility.Random( 1, 10 );
|
||||
MaxLockLevel = this.RequiredSkill + Utility.Random( 1, 10 );
|
||||
LockLevel = RequiredSkill - Utility.Random( 1, 10 );
|
||||
MaxLockLevel = RequiredSkill + Utility.Random( 1, 10 );
|
||||
|
||||
// According to OSI, loot in level 1 chest is:
|
||||
// Gold 25 - 50
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue