Update procrast and gert relik
This commit is contained in:
parent
7225d90fe1
commit
41c4cccc0e
4 changed files with 14 additions and 14 deletions
|
@ -215,7 +215,7 @@ function init() {
|
||||||
document.getElementById("weapon-choice").addEventListener("change", (event) => {
|
document.getElementById("weapon-choice").addEventListener("change", (event) => {
|
||||||
let item = itemMap.has(event.target.value) ? itemMap.get(event.target.value) : (getCraftFromHash(event.target.value) != undefined ? getCraftFromHash(event.target.value).statMap : undefined);
|
let item = itemMap.has(event.target.value) ? itemMap.get(event.target.value) : (getCraftFromHash(event.target.value) != undefined ? getCraftFromHash(event.target.value).statMap : undefined);
|
||||||
if (item !== undefined && event.target.value !== "") {
|
if (item !== undefined && event.target.value !== "") {
|
||||||
document.getElementById("weapon-slots").textContent = (item["slots"] ? item["slots"] : item.get("slots"))+ " slots";
|
document.getElementById("weapon-slots").textContent = (item["slots"] ? item["slots"] : (item.get ? item.get("slots") : 0))+ " slots";
|
||||||
} else {
|
} else {
|
||||||
document.getElementById("weapon-slots").textContent = "X slots";
|
document.getElementById("weapon-slots").textContent = "X slots";
|
||||||
}
|
}
|
||||||
|
|
22
clean.json
22
clean.json
|
@ -40175,10 +40175,10 @@
|
||||||
"atkSpd": "SLOW",
|
"atkSpd": "SLOW",
|
||||||
"lvl": 79,
|
"lvl": 79,
|
||||||
"classReq": null,
|
"classReq": null,
|
||||||
"strReq": 40,
|
"strReq": 55,
|
||||||
"dexReq": 50,
|
"dexReq": 0,
|
||||||
"intReq": 0,
|
"intReq": 0,
|
||||||
"agiReq": 0,
|
"agiReq": 35,
|
||||||
"defReq": 0,
|
"defReq": 0,
|
||||||
"sdPct": -300,
|
"sdPct": -300,
|
||||||
"ms": 2,
|
"ms": 2,
|
||||||
|
@ -73861,7 +73861,7 @@
|
||||||
"category": "weapon",
|
"category": "weapon",
|
||||||
"drop": "NORMAL",
|
"drop": "NORMAL",
|
||||||
"restrict": null,
|
"restrict": null,
|
||||||
"nDam": "1714-2857",
|
"nDam": "1371-2286",
|
||||||
"fDam": "0-0",
|
"fDam": "0-0",
|
||||||
"wDam": "0-0",
|
"wDam": "0-0",
|
||||||
"aDam": "0-0",
|
"aDam": "0-0",
|
||||||
|
@ -73875,15 +73875,15 @@
|
||||||
"intReq": 0,
|
"intReq": 0,
|
||||||
"agiReq": 0,
|
"agiReq": 0,
|
||||||
"defReq": 0,
|
"defReq": 0,
|
||||||
"sdPct": 50,
|
"sdPct": 20,
|
||||||
"mdPct": 50,
|
"mdPct": 20,
|
||||||
"xpb": -10,
|
"xpb": -10,
|
||||||
"lb": -10,
|
"lb": -10,
|
||||||
"str": 22,
|
"str": 17,
|
||||||
"dex": 22,
|
"dex": 17,
|
||||||
"int": 22,
|
"int": 17,
|
||||||
"agi": 22,
|
"agi": 17,
|
||||||
"def": 22,
|
"def": 17,
|
||||||
"spd": -25,
|
"spd": -25,
|
||||||
"atkTier": -10,
|
"atkTier": -10,
|
||||||
"id": 2164
|
"id": 2164
|
||||||
|
|
File diff suppressed because one or more lines are too long
2
load.js
2
load.js
|
@ -1,4 +1,4 @@
|
||||||
const DB_VERSION = 35;
|
const DB_VERSION = 36;
|
||||||
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js
|
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js
|
||||||
|
|
||||||
let db;
|
let db;
|
||||||
|
|
Loading…
Reference in a new issue