fix: Optimizes items to use default weights. (Part 3) (#2242)
This commit is contained in:
parent
2c5441731e
commit
40ba85d7b8
104 changed files with 497 additions and 425 deletions
|
|
@ -47,13 +47,13 @@ public partial class Key : Item
|
|||
|
||||
public Key(KeyType type, uint val = 0, Item link = null) : base((int)type)
|
||||
{
|
||||
Weight = 1.0;
|
||||
|
||||
_maxRange = 3;
|
||||
_keyValue = val;
|
||||
_link = link;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
public static uint RandomValue() => (uint)(0xFFFFFFFE * Utility.RandomDouble()) + 1;
|
||||
|
||||
public static void RemoveKeys(Mobile m, uint keyValue)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue