remove double check for pantheons

This commit is contained in:
ReznoRMichael 2021-08-04 17:22:50 +02:00
commit ab4d2d5aaa
4 changed files with 18 additions and 9 deletions

View file

@ -512,6 +512,11 @@ function CheckExtendedCompletion(db) {
switch (entry) {
case "oldNail":
case "pantheonMaster": // Pantheons are counted in Godmaster section
case "pantheonArtist":
case "pantheonSage":
case "pantheonKnight":
case "pantheonHallownest":
case "geoPool":
case "dreamOrbs":
case "charmsOwned":
@ -1467,13 +1472,13 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
(FindWorldItem(dataObject[i].id, dataObject[i].sceneName)) ? SetIconGreen(section, i): SetIconNone(section, i);
break;
case "bossDoorStateTier5":
case "pantheonHallownest":
if (playerData.hasOwnProperty("bossDoorStateTier5") === false) {
SetIconNone(section, i);
dataObject[i].disabled = true;
/* textPrefix = `<del>${textPrefix}</del>`; */
} else {
(playerData[i].completed === true) ? SetIconGreen(section, i): SetIconRed(section, i);
(playerData.bossDoorStateTier5.completed === true) ? SetIconGreen(section, i): SetIconRed(section, i);
}
break;

View file

@ -1599,7 +1599,7 @@ const HK = {
wiki: "Mister_Mushroom",
state: 7
},
bossDoorStateTier5: {
pantheonHallownest: {
name: "P5 Embrace the Void",
spoiler: "Godhome: Pantheon of Hallownest",
wiki: "Pantheon_of_Hallownest"