Removes implicit this.

This commit is contained in:
Kamron Batman 2018-09-14 12:56:58 -07:00
parent 04b4cfe75b
commit 83dcf536d8
533 changed files with 2804 additions and 2806 deletions

View file

@ -18,18 +18,18 @@ namespace Server.Items
switch( Utility.RandomList( 0, 1, 2 ) )
{
case 0:// Wooden Chest
this.ItemID = ( UseFirstItemId ? 0xe42 : 0xe43 );
this.GumpID = 0x49;
ItemID = ( UseFirstItemId ? 0xe42 : 0xe43 );
GumpID = 0x49;
break;
case 1:// Metal Chest
this.ItemID = ( UseFirstItemId ? 0x9ab : 0xe7c );
this.GumpID = 0x4A;
ItemID = ( UseFirstItemId ? 0x9ab : 0xe7c );
GumpID = 0x4A;
break;
case 2:// Metal Golden Chest
this.ItemID = ( UseFirstItemId ? 0xe40 : 0xe41 );
this.GumpID = 0x42;
ItemID = ( UseFirstItemId ? 0xe40 : 0xe41 );
GumpID = 0x42;
break;
}
}
@ -44,7 +44,7 @@ namespace Server.Items
public TreasureChestLevel3()
: base( 0xE41 )
{
this.SetChestAppearance();
SetChestAppearance();
Movable = false;
TrapType = TrapType.PoisonTrap;
@ -52,8 +52,8 @@ namespace Server.Items
Locked = true;
RequiredSkill = 84;
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 3 chest is:
// Gold 250 - 350