add Godmaster Pantheons
This commit is contained in:
parent
8548bf7763
commit
74dcaa14c0
1 changed files with 12 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ function HKCheckCompletion(jsonObject) {
|
||||||
let HK_GODMASTER_temp = Object.assign({}, HK_GODMASTER);
|
let HK_GODMASTER_temp = Object.assign({}, HK_GODMASTER);
|
||||||
|
|
||||||
let HKPlayerData = jsonObject.playerData;
|
let HKPlayerData = jsonObject.playerData;
|
||||||
|
let bossDoor = ["Pantheon of the Master", "Pantheon of the Artist", "Pantheon of the Sage", "Pantheon of the Knight"]
|
||||||
|
|
||||||
for (i in HKPlayerData) {
|
for (i in HKPlayerData) {
|
||||||
completionSymbol = SYMBOL_FALSE;
|
completionSymbol = SYMBOL_FALSE;
|
||||||
|
|
@ -241,6 +242,17 @@ function HKCheckCompletion(jsonObject) {
|
||||||
|
|
||||||
if (HK_GODMASTER_temp) checkIfDataTrue(DIV_ID.godmaster, HK_GODMASTER_temp, HKPlayerData);
|
if (HK_GODMASTER_temp) checkIfDataTrue(DIV_ID.godmaster, HK_GODMASTER_temp, HKPlayerData);
|
||||||
|
|
||||||
|
if (bossDoor.length) {
|
||||||
|
for (let j=1; j<=4; j++) {
|
||||||
|
currentDataFalse();
|
||||||
|
if (i === ("bossDoorStateTier" + j)) {
|
||||||
|
if (HKPlayerData["bossDoorStateTier" + j].completed === true) currentDataTrue();
|
||||||
|
fillHTML(DIV_ID.godmaster, bossDoor[0]);
|
||||||
|
bossDoor.shift();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// finish and show benchmark
|
// finish and show benchmark
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue