Fix typo;;
This commit is contained in:
parent
d574d5dbf7
commit
643abafca1
1 changed files with 1 additions and 1 deletions
2
load3.js
2
load3.js
|
@ -62,7 +62,7 @@ function clean_item(item) {
|
|||
item.skillpoints = [item.str, item.dex, item.int, item.def, item.agi];
|
||||
item.has_negstat = item.str < 0 || item.dex < 0 || item.int < 0 || item.def < 0 || item.agi < 0;
|
||||
item.reqs = [item.strReq, item.dexReq, item.intReq, item.defReq, item.agiReq];
|
||||
for (int i = 0; i < 5; ++i) {
|
||||
for (let i = 0; i < 5; ++i) {
|
||||
if (item.reqs[i] === undefined) {
|
||||
item.reqs[i] = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue