Skip to content

Commit

Permalink
Update equip.js
Browse files Browse the repository at this point in the history
  • Loading branch information
cyomega committed May 15, 2024
1 parent 9b93fa1 commit 1ad77ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion equip.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ $(document).ready(function() {
let typeWeightZero = [];
for (let i = type.length - 1; i >= 0; i--)
typeWeightZero.push([]);
const statMinEvery = statMin.every(e => e == -1);
for (let i = type.length - 1; i >= 0; i--) {
if (type[i].length == 0)
type[i].push([99999, 7, 0, 0, 0, 0, 0, 0, 0, 'cyz']);
Expand All @@ -265,7 +266,7 @@ $(document).ready(function() {
let noCount = true;
if (type[i][j][1] > 1) {
noCount = false;
if (j != 0) for (let k = 0; k < j; k++) {
if (!statMinEvery) for (let k = 0; k < j; k++) {
if (type[i][k][1] < 2)
continue;
if (i != 9) {
Expand Down

0 comments on commit 1ad77ce

Please sign in to comment.