code format
This commit is contained in:
parent
30897e6d21
commit
22a6aa3691
2 changed files with 14 additions and 14 deletions
|
|
@ -199,7 +199,8 @@ function HKCheckCompletion(jsonObject) {
|
|||
let HK_GODMASTER_temp = Object.assign({}, HK_GODMASTER);
|
||||
|
||||
let HKPlayerData = jsonObject.playerData;
|
||||
let bossDoor = ["Pantheon of the Master", "Pantheon of the Artist", "Pantheon of the Sage", "Pantheon of the Knight"]
|
||||
let bossDoor = ["Pantheon of the Master", "Pantheon of the Artist", "Pantheon of the Sage", "Pantheon of the Knight"];
|
||||
let nailName = ["Old Nail", "Sharpened Nail", "Channeled Nail", "Coiled Nail", "Pure Nail"];
|
||||
|
||||
for (i in HKPlayerData) {
|
||||
completionSymbol = SYMBOL_FALSE;
|
||||
|
|
@ -248,9 +249,6 @@ function HKCheckCompletion(jsonObject) {
|
|||
// ---------------- Nail Upgrades --------------------- //
|
||||
|
||||
if (i === "nailSmithUpgrades") {
|
||||
|
||||
let nailName = ["Old Nail", "Sharpened Nail", "Channeled Nail", "Coiled Nail", "Pure Nail"];
|
||||
|
||||
for (let j = 0; j < nailName.length; j++) {
|
||||
currentDataFalse();
|
||||
if (HKPlayerData.nailSmithUpgrades >= j) currentDataTrue();
|
||||
|
|
|
|||
|
|
@ -10,13 +10,15 @@ function loadJSON( callback ) {
|
|||
|
||||
xobj.overrideMimeType("application/json");
|
||||
|
||||
let fileName = ["reznor88banish.json", "reznor112grimm.json"];
|
||||
|
||||
// Specifies the request
|
||||
/* method: the request type GET or POST
|
||||
url: the file location
|
||||
async: true (asynchronous) or false (synchronous)
|
||||
user: optional user name
|
||||
psw: optional password */
|
||||
xobj.open( 'GET', 'reznor88banish.json', true ); // Path to the file
|
||||
xobj.open('GET', fileName[0], true); // Path to the file
|
||||
|
||||
// Defines a function to be called when the readyState property changes
|
||||
xobj.onreadystatechange = function GetResponseText() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue