Add variable durability loss to armor plates sold by fence
This commit is contained in:
parent
0997c21ba3
commit
0c7cecdacd
@ -759,7 +759,8 @@ export class FenceService
|
||||
|| itemDetails._parent === BaseClasses.HEADWEAR
|
||||
|| itemDetails._parent === BaseClasses.VEST
|
||||
|| itemDetails._parent === BaseClasses.ARMORED_EQUIPMENT
|
||||
|| itemDetails._parent === BaseClasses.FACECOVER) && itemDetails._props.MaxDurability > 0
|
||||
|| itemDetails._parent === BaseClasses.FACECOVER
|
||||
|| itemDetails._parent === BaseClasses.ARMOR_PLATE) && itemDetails._props.MaxDurability > 0
|
||||
)
|
||||
{
|
||||
const values = this.getRandomisedArmorDurabilityValues(itemDetails, this.traderConfig.fence.armorMaxDurabilityPercentMinMax);
|
||||
|
Loading…
Reference in New Issue
Block a user