dc878caf1c
* 2.0.2 mage tree Super super janky implementation of winded * Clean up breathless definition * Numerical values and archetype req update for non mage ability trees Notably excludes: Effigy attack speed Double/Triple totem multipliers more shields damage change arrow hurricane nerf don't think this includes dependencies but idk if any changed? Topology fixing still needed * Archer, Warrior and Shaman updated (mostly) * Assassin tree changes * Item db update guess this is the 2.0.2 branch now * Mage edit to match ingame * Fix misc. atree stuff that wasn't fixed yet warrior connections and positions double/triple totem implementation ragna nerf --------- Co-authored-by: hppeng <hppeng> Co-authored-by: TopHat of Pride <33451677+TopHat-of-Pride@users.noreply.github.com> Co-authored-by: aspiepuppy <emimeado@gmail.com>
18 lines
715 B
Python
18 lines
715 B
Python
'''
|
|
A generic file used for turning a json into a compressed version of itself (minimal whitespaces).
|
|
Compressed files are useful for lowering the amount of data sent.
|
|
|
|
Usage: python compress_json.py [infile rel path] [outfile rel path]
|
|
'''
|
|
|
|
if __name__ == "__main__":
|
|
import json
|
|
import argparse
|
|
|
|
parser = argparse.ArgumentParser(description="Pull data from wynn API.")
|
|
parser.add_argument('infile', help='input file to read data from')
|
|
parser.add_argument('outfile', help='output file to dump clean data into')
|
|
args = parser.parse_args()
|
|
|
|
infile, outfile = args.infile, args.outfile
|
|
json.dump(json.load(open(infile)), open(outfile, "w"), ensure_ascii=False, separators=(',', ':'))
|