fix: Optimizes items to use default weights. (Part 4) (#2243)
This commit is contained in:
parent
40ba85d7b8
commit
fa0b67ec29
109 changed files with 250 additions and 391 deletions
|
|
@ -13,9 +13,7 @@ public partial class GiftBox : BaseContainer
|
|||
}
|
||||
|
||||
[Constructible]
|
||||
public GiftBox(int hue) : base(Utility.Random(0x232A, 2))
|
||||
{
|
||||
Weight = 2.0;
|
||||
Hue = hue;
|
||||
}
|
||||
public GiftBox(int hue) : base(Utility.Random(0x232A, 2)) => Hue = hue;
|
||||
|
||||
public override double DefaultWeight => 2.0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue