This commit is contained in:
xavier 2013-01-19 20:21:53 +00:00
parent 2120f4fb5b
commit 39631e3a8a

View file

@ -16,7 +16,7 @@ namespace Server.Items
{
bool UseFirstItemId = Utility.RandomBool();
switch( Utility.RandomList( 0, 1, 2 ) )
switch( Utility.Random( 4 ) )
{
case 0:// Wooden Chest
this.ItemID = ( UseFirstItemId ? 0xe42 : 0xe43 );
@ -32,6 +32,11 @@ namespace Server.Items
this.ItemID = ( UseFirstItemId ? 0xe40 : 0xe41 );
this.GumpID = 0x42;
break;
case 4:// Keg
this.ItemID = 0xe7f;
this.GumpID = 0x3e;
break;
}
}