修复S级以下驱动盘词条数统计 fix #113

This commit is contained in:
UCPr 2025-04-24 13:47:17 +08:00
parent 92730b454f
commit 5a0ecd278a

View file

@ -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);
};