relics count

This commit is contained in:
ReznoRMichael 2021-02-10 16:32:50 +01:00
parent 24e29cc4e3
commit 55b3c2cc26
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

View file

@ -887,8 +887,8 @@ function CheckAdditionalThings(divId, dataObject, playerData, worldData, sceneDa
case "relicsHallownestSeal":
case "relicsKingsIdol":
case "relicsArcaneEgg":
total = playerData[dataObject[i][3]] + playerData[dataObject[i][4]];
(total >= dataObject[i][2]) ? CurrentDataTrue(): CurrentDataBlank();
total = playerData[dataObject[i].nameHeld] + playerData[dataObject[i].nameSold];
(total >= dataObject[i].max) ? CurrentDataTrue(): CurrentDataBlank();
textPrefix += ": " + total;
break;
case "bossDoorStateTier5":

View file

@ -69,4 +69,4 @@ function LoadJSON(filename) {
} */
// jsonObj = LoadJSON("../save/" + fileName[5], JSONparse(response));
LoadJSON("../save/" + fileName[5] + ".json");
LoadJSON("../save/" + fileName[11] + ".json");