Merge branch 'feature/leather-tight-fit'
timfa Tim Falken · pushed by timfa
Authored 2026-09-04 · 2 months ago
- Hash
84c23329186efc99d678e344f849266524a18a4d
1 file changed
+2
−0
@@ -73,6 +73,7 @@ function leatherArmourDef (itemId, tier, piece)
73
73
const prefix = tier === LeatherTier.softLeather
74
74
? "soft-leather"
75
75
: tier.replace(/([A-Z])/g, "-$1").toLowerCase();
76
const tightFit = piece.suffix === "chestguard" || piece.suffix === "chausses";
76
77
return Object.freeze({
77
78
itemId,
78
79
key: `${prefix}-${piece.suffix}`,
@@ -90,6 +91,7 @@ function leatherArmourDef (itemId, tier, piece)
90
91
clothTier,
91
92
dualTintLeatherCloth: true,
92
93
dualTintFromTier: true,
94
...(tightFit ? { tightFit: true } : {}),
93
95
equipment: Object.freeze({
94
96
slot: piece.slot,
95
97
tier,
@@ -73,6 +73,7 @@ function leatherArmourDef (itemId, tier, piece)73
const prefix = tier === LeatherTier.softLeather73
const prefix = tier === LeatherTier.softLeather74
? "soft-leather"74
? "soft-leather"75
: tier.replace(/([A-Z])/g, "-$1").toLowerCase();75
: tier.replace(/([A-Z])/g, "-$1").toLowerCase();76
const tightFit = piece.suffix === "chestguard" || piece.suffix === "chausses";76
return Object.freeze({77
return Object.freeze({77
itemId,78
itemId,78
key: `${prefix}-${piece.suffix}`,79
key: `${prefix}-${piece.suffix}`,@@ -90,6 +91,7 @@ function leatherArmourDef (itemId, tier, piece)90
clothTier,91
clothTier,91
dualTintLeatherCloth: true,92
dualTintLeatherCloth: true,92
dualTintFromTier: true,93
dualTintFromTier: true,94
...(tightFit ? { tightFit: true } : {}),93
equipment: Object.freeze({95
equipment: Object.freeze({94
slot: piece.slot,96
slot: piece.slot,95
tier,97
tier,