From 0c7cecdacd50d400df84c902608af18c25bbd36f Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 8 Jan 2024 17:43:19 +0000 Subject: [PATCH] Add variable durability loss to armor plates sold by fence --- project/src/services/FenceService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project/src/services/FenceService.ts b/project/src/services/FenceService.ts index 1d7d1610..84a4cf5f 100644 --- a/project/src/services/FenceService.ts +++ b/project/src/services/FenceService.ts @@ -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);