fade pantheons for backwards compatibility
This commit is contained in:
parent
7dccf2d0ff
commit
50cdcfa6ed
2 changed files with 9 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -614,10 +614,16 @@ function CheckGodmasterDoors(divId, dataObject, playerData) {
|
|||
let pantheon = ["Master", "Artist", "Sage", "Knight"].map((element) => "pantheon" + element);
|
||||
|
||||
for (let i = 0; i < 4; i++) {
|
||||
if (playerData.hasOwnProperty("bossDoorStateTier" + (i + 1)) === false) {
|
||||
CurrentDataBlank();
|
||||
FillHTML(divId, `<del>${dataObject[pantheon[i]].name}</del>`, `<del>${dataObject[pantheon[i]].spoiler}</del>`);
|
||||
}
|
||||
else {
|
||||
(playerData["bossDoorStateTier" + (i + 1)].completed === true) ? CurrentDataTrue(divId): CurrentDataFalse();
|
||||
FillHTML(divId, dataObject[pantheon[i]].name, dataObject[pantheon[i]].spoiler);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Verifies the level of player's nail upgrades, and appends HTML accordingly.
|
||||
|
|
|
|||
Loading…
Reference in a new issue