fix: Fixes weapon and armor quality default value (#1710)
This commit is contained in:
parent
f3d1fb82d8
commit
70575e1517
2 changed files with 8 additions and 4 deletions
|
|
@ -362,6 +362,9 @@ public abstract partial class BaseWeapon : Item, IWeapon, IFactionItem, ICraftab
|
|||
[SerializableFieldSaveFlag(3)]
|
||||
private bool ShouldSerializeQuality() => _quality != WeaponQuality.Regular;
|
||||
|
||||
[SerializableFieldDefault(3)]
|
||||
private WeaponQuality QualityDefaultValue() => WeaponQuality.Regular;
|
||||
|
||||
[SerializableProperty(4)]
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public int HitPoints
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue