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
|
|
@ -16,12 +16,13 @@ public partial class SpellScroll : Item, ICommodity
|
|||
public SpellScroll(int spellID, int itemID, int amount = 1) : base(itemID)
|
||||
{
|
||||
Stackable = true;
|
||||
Weight = 1.0;
|
||||
Amount = amount;
|
||||
|
||||
_spellID = spellID;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 1.0;
|
||||
|
||||
int ICommodity.DescriptionNumber => LabelNumber;
|
||||
bool ICommodity.IsDeedable => Core.ML;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue