Revert ranch retention, breakthroughs and exploration
This commit is contained in:
@@ -39,7 +39,7 @@ with zipfile.ZipFile(apk) as archive:
|
||||
if name == "stack_price":
|
||||
tables["stack_meta"] = {"total": int(value["total"])}
|
||||
print(name, len(tables[name]))
|
||||
fields = {"type", "name", "star", "element", "job", "time_1", "time_2", "sell_money", "sell_exp", "hideLib", "npc", "atk", "def", "hp", "dex", "like"}
|
||||
fields = {"type", "name", "star", "time_1", "time_2", "sell_money", "sell_exp", "hideLib", "npc", "atk", "def", "hp", "dex", "like"}
|
||||
fields |= {p + "_grow_" + bound for p in ("atk", "def", "hp", "dex") for bound in ("min", "max")}
|
||||
tables["monster_info"] = {str(k): {f: v for f, v in row.items() if f in fields} for k, row in tables["monster_info"].items()}
|
||||
tables = repair_names(tables)
|
||||
@@ -53,8 +53,7 @@ tables["entangle_info"] = {"haoganMax": tables["entangle_info"]["haoganMax"]}
|
||||
tables["markets"] = {row["id"]: {k: row.get(k) for k in ("id", "money", "ke", "max", "eggs", "freegift")} |
|
||||
{"city": int(row["id"][7:]), "name": tables["game_setting"]["cityInfo"][row["id"][7:]]["name"]}
|
||||
for row in tables.pop("gacha_machine") if row["id"].startswith("sc_city")}
|
||||
tables["potential_info"] = {k: tables["potential_info"][k] for k in
|
||||
("potentialLevelMaxAdd", "maxPotentialLevel", "potential", "potentialLevelItem", "elementItem")}
|
||||
tables["potential_info"] = {k: tables["potential_info"][k] for k in ("potentialLevelMaxAdd", "maxPotentialLevel")}
|
||||
tables["stage_info"] = {r["id"]: {f: r.get(f) for f in ("id", "name", "city", "closed", "cost", "tagname", "special", "posmode")} |
|
||||
{"level": {k: {f: v for f, v in level.items() if f in ("cost", "levelLock", "reward", "monExp")} for k, level in r.get("level", {}).items()}}
|
||||
for r in tables["stage_info"]}
|
||||
|
||||
Reference in New Issue
Block a user