Remove duplicate entries (???)

This commit is contained in:
b 2021-07-05 07:13:04 -07:00
parent 78600e889f
commit 08a4bb598c
5 changed files with 5 additions and 83 deletions

View file

@ -58,63 +58,6 @@
"spPct2": -1,
"id": 1022
},
{
"name": "Cinderchain",
"type": "leggings",
"tier": "Rare",
"category": "armor",
"displayName": "Cinderchain",
"slots": 2,
"hp": 2875,
"fDef": 150,
"wDef": -150,
"tDef": 150,
"eDef": -150,
"lvl": 98,
"dexReq": 30,
"defReq": 60,
"sdPct": 10,
"dex": 10,
"def": 7,
"expd": 25,
"atkTier": -1,
"mdRaw": 525,
"fDamPct": 45,
"aDamPct": -65,
"tDamPct": 40,
"eDamPct": -65,
"fixID": true,
"id": 1259,
"set": "Fire Hive",
"hideSet": true
},
{
"name": "King of Hearts",
"type": "wand",
"tier": "Rare",
"category": "weapon",
"displayName": "King of Hearts",
"poison": -10000000,
"slots": 2,
"nDam": "0-0",
"fDam": "0-0",
"wDam": "0-0",
"aDam": "0-0",
"tDam": "0-0",
"eDam": "0-0",
"atkSpd": "NORMAL",
"lvl": 97,
"intReq": 60,
"defReq": 40,
"mr": 3,
"hpBonus": 3692,
"hprRaw": 200,
"sdRaw": -10000000,
"mdRaw": -10000000,
"wDamPct": 100,
"spRaw1": -6,
"id": 1533
},
{
"name": "Dark Shroud",
"type": "leggings",
@ -339,28 +282,6 @@
"fixID": true,
"id": 604
},
{
"name": "Shaggy Boots",
"type": "boots",
"tier": "Rare",
"category": "armor",
"displayName": "Shaggy Boots",
"thorns": 10,
"slots": 2,
"hp": 3000,
"tDef": 150,
"eDef": -150,
"lvl": 97,
"dexReq": 60,
"ls": 300,
"ref": 10,
"dex": 10,
"atkTier": -10,
"hpBonus": -800,
"mdRaw": 2700,
"tDamPct": 23,
"id": 2987
},
{
"name": "Broken Balance",
"type": "boots",

File diff suppressed because one or more lines are too long

View file

@ -1,4 +1,4 @@
const DB_VERSION = 66;
const DB_VERSION = 67;
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.jsA
let db;

View file

@ -1,4 +1,4 @@
const DB_VERSION = 66;
const DB_VERSION = 67;
// @See https://github.com/mdn/learning-area/blob/master/javascript/apis/client-side-storage/indexeddb/video-store/index.jsA
let db;

View file

@ -1,6 +1,7 @@
import json
import sys
with open("updated.json") as infile:
with open(sys.argv[1]) as infile:
data = json.load(infile)
duplicate_map = dict()