From cfe321cf4ba981bf6f26d2b277d8ae600d43ce11 Mon Sep 17 00:00:00 2001 From: Kaeno Date: Fri, 16 Feb 2024 12:56:39 +0000 Subject: [PATCH] Change durability calculation to match live better --- project/src/helpers/ItemHelper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/helpers/ItemHelper.ts b/project/src/helpers/ItemHelper.ts index 259f80e3..f912916c 100644 --- a/project/src/helpers/ItemHelper.ts +++ b/project/src/helpers/ItemHelper.ts @@ -416,7 +416,7 @@ export class ItemHelper // Armor if (itemDetails._props.armorClass) { - return repairable.Durability / itemDetails._props.MaxDurability; + return repairable.MaxDurability / itemDetails._props.MaxDurability; } // Weapon