diff --git a/lib/score.js b/lib/score.js index f5b3963..e883e69 100644 --- a/lib/score.js +++ b/lib/score.js @@ -50,5 +50,5 @@ for (const charName in equipScore) { export const getEquipPropertyEnhanceCount = (propertyID, value) => { const baseValue = baseValueData[propertyID]; value = +value.replace('%', ''); - return value / baseValue - 1 || 0; + return Math.trunc(value / baseValue - 1 || 0); };