Fix duplicate item names
This commit is contained in:
parent
8bad627a3d
commit
d3f23b4b6a
6 changed files with 9 additions and 83 deletions
6
build.js
6
build.js
|
@ -133,9 +133,9 @@ class Build{
|
|||
this.powders[2] = this.powders[2].slice(0,leggings.slots);
|
||||
this.leggings = expandItem(leggings, this.powders[2]);
|
||||
}else{
|
||||
const chestplate = itemMap.get("No Leggings");
|
||||
this.powders[1] = this.powders[1].slice(0,chestplate.slots);
|
||||
this.chestplate = expandItem(chestplate, this.powders[1]);
|
||||
const leggings = itemMap.get("No Leggings");
|
||||
this.powders[2] = this.powders[2].slice(0,leggings.slots);
|
||||
this.leggings = expandItem(leggings, this.powders[2]);
|
||||
errors.push(new ItemNotFound(equipment[2], "leggings", true));
|
||||
}
|
||||
if(itemMap.get(equipment[3]) && itemMap.get(equipment[3]).type === "boots") {
|
||||
|
|
|
@ -3,7 +3,7 @@ const url_tag = location.hash.slice(1);
|
|||
console.log(url_base);
|
||||
console.log(url_tag);
|
||||
|
||||
const BUILD_VERSION = "6.9.8";
|
||||
const BUILD_VERSION = "6.9.9";
|
||||
|
||||
function setTitle() {
|
||||
let text;
|
||||
|
|
|
@ -275277,7 +275277,7 @@
|
|||
{
|
||||
"tier": "Rare",
|
||||
"type": "boots",
|
||||
"name": "All for One",
|
||||
"name": "All For One",
|
||||
"displayName": "Weatherwalkers (1.20)",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
|
|
File diff suppressed because one or more lines are too long
5
load.js
5
load.js
|
@ -1,4 +1,4 @@
|
|||
const DB_VERSION = 26;
|
||||
const DB_VERSION = 27;
|
||||
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.js
|
||||
|
||||
let db;
|
||||
|
@ -79,7 +79,8 @@ async function load(init_func) {
|
|||
await clear_tx.complete;
|
||||
|
||||
let add_tx = db.transaction(['item_db', 'set_db'], 'readwrite');
|
||||
add_tx.onabort = function() {
|
||||
add_tx.onabort = function(e) {
|
||||
console.log(e);
|
||||
console.log("Not enough space...");
|
||||
};
|
||||
let items_store = add_tx.objectStore('item_db');
|
||||
|
|
75
updated.json
75
updated.json
|
@ -6407,81 +6407,6 @@
|
|||
"gSpd": 0,
|
||||
"id": 87
|
||||
},
|
||||
{
|
||||
"name": "All for One",
|
||||
"displayName": "All For One",
|
||||
"tier": "Rare",
|
||||
"type": "boots",
|
||||
"set": null,
|
||||
"quest": null,
|
||||
"poison": 0,
|
||||
"thorns": 0,
|
||||
"sprint": 0,
|
||||
"category": "armor",
|
||||
"slots": 3,
|
||||
"drop": "NORMAL",
|
||||
"hp": 3800,
|
||||
"fDef": -50,
|
||||
"wDef": -50,
|
||||
"aDef": -50,
|
||||
"tDef": -50,
|
||||
"eDef": 150,
|
||||
"lvl": 99,
|
||||
"classReq": null,
|
||||
"strReq": 0,
|
||||
"dexReq": 0,
|
||||
"intReq": 0,
|
||||
"agiReq": 0,
|
||||
"defReq": 0,
|
||||
"hprPct": 0,
|
||||
"mr": 0,
|
||||
"sdPct": 0,
|
||||
"mdPct": 0,
|
||||
"ls": 0,
|
||||
"ms": 0,
|
||||
"xpb": 0,
|
||||
"lb": 0,
|
||||
"ref": 0,
|
||||
"str": -20,
|
||||
"dex": 4,
|
||||
"int": 4,
|
||||
"agi": 4,
|
||||
"def": 4,
|
||||
"expd": 0,
|
||||
"spd": 0,
|
||||
"atkTier": 0,
|
||||
"hpBonus": 0,
|
||||
"spRegen": 0,
|
||||
"eSteal": 0,
|
||||
"hprRaw": 0,
|
||||
"sdRaw": -150,
|
||||
"mdRaw": 195,
|
||||
"fDamPct": 0,
|
||||
"wDamPct": 0,
|
||||
"aDamPct": 0,
|
||||
"tDamPct": 0,
|
||||
"eDamPct": 0,
|
||||
"fDefPct": 0,
|
||||
"wDefPct": 0,
|
||||
"aDefPct": 0,
|
||||
"tDefPct": 0,
|
||||
"eDefPct": 0,
|
||||
"spPct1": 0,
|
||||
"spRaw1": 0,
|
||||
"spPct2": 0,
|
||||
"spRaw2": 0,
|
||||
"spPct3": 0,
|
||||
"spRaw3": 0,
|
||||
"spPct4": 0,
|
||||
"spRaw4": 0,
|
||||
"rainbowRaw": 0,
|
||||
"sprintReg": 0,
|
||||
"jh": 0,
|
||||
"lq": 0,
|
||||
"gXp": 0,
|
||||
"gSpd": 0,
|
||||
"id": 88
|
||||
},
|
||||
{
|
||||
"name": "Allegro",
|
||||
"tier": "Unique",
|
||||
|
|
Loading…
Reference in a new issue