Missable Arcane Egg exception, subtract from total
This commit is contained in:
parent
4fdcf60ce5
commit
b3f610c6d2
3 changed files with 25 additions and 12 deletions
17
build/app.js
17
build/app.js
|
|
@ -466,6 +466,17 @@ function CheckExtendedCompletion(db) {
|
||||||
default:
|
default:
|
||||||
if (entries[entry].icon !== "none") {
|
if (entries[entry].icon !== "none") {
|
||||||
intro.extendedCompletionTotal++;
|
intro.extendedCompletionTotal++;
|
||||||
|
/* Missable Arcane Egg exception, subtract from total */
|
||||||
|
|
||||||
|
if (entries[entry].icon === "red" && entry === "arcaneEggLifebloodCoreRoom") {
|
||||||
|
/* console.info(`${entry} has passed:`, entries[entry].icon); */
|
||||||
|
|
||||||
|
/* When got the Lifeblood Core charm, but didn't pick up the Arcane Egg */
|
||||||
|
if (sections.charms.entries.gotCharm_9.icon === "green") {
|
||||||
|
intro.extendedCompletionTotal--;
|
||||||
|
/* console.info(`${entry} completion Total subtracted`); */
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entries[entry].icon === "green") {
|
if (entries[entry].icon === "green") {
|
||||||
|
|
@ -515,12 +526,6 @@ function CheckExtendedCompletion(db) {
|
||||||
amount = 0;
|
amount = 0;
|
||||||
max = 0;
|
max = 0;
|
||||||
}
|
}
|
||||||
/* Missable Arcane Egg exception */
|
|
||||||
|
|
||||||
/* else if (entry === "arcaneEggLifebloodCoreRoom") {
|
|
||||||
if ()
|
|
||||||
} */
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -553,6 +553,19 @@ function CheckExtendedCompletion(db) {
|
||||||
|
|
||||||
if (entries[entry].icon !== "none") {
|
if (entries[entry].icon !== "none") {
|
||||||
intro.extendedCompletionTotal++;
|
intro.extendedCompletionTotal++;
|
||||||
|
|
||||||
|
/* Missable Arcane Egg exception, subtract from total */
|
||||||
|
if (entries[entry].icon === "red" && entry === "arcaneEggLifebloodCoreRoom") {
|
||||||
|
|
||||||
|
/* console.info(`${entry} has passed:`, entries[entry].icon); */
|
||||||
|
|
||||||
|
/* When got the Lifeblood Core charm, but didn't pick up the Arcane Egg */
|
||||||
|
if (sections.charms.entries.gotCharm_9.icon === "green") {
|
||||||
|
intro.extendedCompletionTotal--;
|
||||||
|
|
||||||
|
/* console.info(`${entry} completion Total subtracted`); */
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (entries[entry].icon === "green") {
|
if (entries[entry].icon === "green") {
|
||||||
|
|
@ -608,11 +621,6 @@ function CheckExtendedCompletion(db) {
|
||||||
amount = 0;
|
amount = 0;
|
||||||
max = 0;
|
max = 0;
|
||||||
}
|
}
|
||||||
/* Missable Arcane Egg exception */
|
|
||||||
/* else if (entry === "arcaneEggLifebloodCoreRoom") {
|
|
||||||
|
|
||||||
if ()
|
|
||||||
} */
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue