mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 05:07:46 +00:00
修复S级以下驱动盘词条数统计 fix #113
This commit is contained in:
parent
92730b454f
commit
5a0ecd278a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue