Skip to content

Commit

Permalink
修正计算识别
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzNoah authored Jan 31, 2024
1 parent 96452ad commit b312e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion character-generator/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for (let i = 0; i < allItems.length; i++) {
total += 2;
} else if (total > 10){
total = 10;
} else if (!item.includes("头盔(+1 护甲)及盾牌(+1 护甲)") && (!item.includes("无头盔或盾牌") && (!item.includes("叠放")))) {
} else if (!item.includes("无上身防具") && (!item.includes("") && (!item.includes("叠放")))) {
total++;
}
}
Expand Down

0 comments on commit b312e1b

Please sign in to comment.