#W# Removed all ore sizes except the large one.
This commit is contained in:
parent
9b15cd0b7b
commit
3fcca2084f
1 changed files with 4 additions and 14 deletions
|
|
@ -56,20 +56,10 @@ namespace Server.Items
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
public BaseOre( CraftResource resource, int amount ) : base( Utility.Random( 4 ) )
|
public BaseOre( CraftResource resource, int amount ) : base( 0X19B9) //base( Utility.Random( 4 ) )
|
||||||
{
|
{
|
||||||
{
|
ItemID = 0x19B9;
|
||||||
double random = Utility.RandomDouble();
|
Weight = 1.0;
|
||||||
if ( 0.12 >= random )
|
|
||||||
ItemID = 0x19B7;
|
|
||||||
else if ( 0.18 >= random )
|
|
||||||
ItemID = 0x19B8;
|
|
||||||
else if ( 0.25 >= random )
|
|
||||||
ItemID = 0x19BA;
|
|
||||||
else
|
|
||||||
ItemID = 0x19B9;
|
|
||||||
}
|
|
||||||
|
|
||||||
Stackable = true;
|
Stackable = true;
|
||||||
Amount = amount;
|
Amount = amount;
|
||||||
Hue = CraftResources.GetHue( resource );
|
Hue = CraftResources.GetHue( resource );
|
||||||
|
|
@ -374,4 +364,4 @@ namespace Server.Items
|
||||||
return new IronIngot();
|
return new IronIngot();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue