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
|
|
@ -116,7 +116,6 @@ public partial class Spellbook : Item, ICraftable, ISlayer, IAosItem
|
|||
_attributes = new AosAttributes(this);
|
||||
_skillBonuses = new AosSkillBonuses(this);
|
||||
|
||||
Weight = 3.0;
|
||||
Layer = Layer.OneHanded;
|
||||
LootType = LootType.Blessed;
|
||||
|
||||
|
|
@ -124,6 +123,8 @@ public partial class Spellbook : Item, ICraftable, ISlayer, IAosItem
|
|||
Content = content;
|
||||
}
|
||||
|
||||
public override double DefaultWeight => 3.0;
|
||||
|
||||
public override bool DisplayWeight => false;
|
||||
|
||||
public virtual SpellbookType SpellbookType => SpellbookType.Regular;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue