skip counting some entries

This commit is contained in:
ReznoRMichael 2021-07-28 21:55:34 +02:00
parent bfbc903b57
commit dbfc5d42e4
3 changed files with 11 additions and 5 deletions

View file

@ -421,6 +421,7 @@ function CheckExtendedCompletion(db) {
case "intro":
case "hints":
case "huntersJournal":
case "huntersJournalOptional":
continue;
default:
@ -438,13 +439,15 @@ function CheckExtendedCompletion(db) {
}
if (entries[entry].hasOwnProperty("icon")) {
intro.extendedCompletionTotal++;
if (entries[entry].icon !== "none") {
intro.extendedCompletionTotal++;
}
if (entries[entry].icon === "green") {
intro.extendedCompletionDone++;
}
if (entries[entry].hasOwnProperty("disabled") && entries[entry].disabled == true) {
if (entries[entry].hasOwnProperty("disabled") && entries[entry].disabled === true) {
intro.extendedCompletionTotal--;
}
}

File diff suppressed because one or more lines are too long

View file

@ -499,6 +499,7 @@ function CheckExtendedCompletion(db) {
case "intro":
case "hints":
case "huntersJournal":
case "huntersJournalOptional":
continue;
default:
@ -520,13 +521,15 @@ function CheckExtendedCompletion(db) {
if (entries[entry].hasOwnProperty("icon")) {
intro.extendedCompletionTotal++;
if (entries[entry].icon !== "none") {
intro.extendedCompletionTotal++;
}
if (entries[entry].icon === "green") {
intro.extendedCompletionDone++;
}
if (entries[entry].hasOwnProperty("disabled") && entries[entry].disabled == true) {
if (entries[entry].hasOwnProperty("disabled") && entries[entry].disabled === true) {
intro.extendedCompletionTotal--;
}
}