skip counting some entries
This commit is contained in:
parent
bfbc903b57
commit
dbfc5d42e4
3 changed files with 11 additions and 5 deletions
|
|
@ -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
|
|
@ -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--;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue