Fix converter script, complete warrior tree

This commit is contained in:
hppeng 2022-06-30 09:05:09 -07:00
parent 61172d16d4
commit a318756058
3 changed files with 7 additions and 7 deletions

View file

@ -3049,7 +3049,7 @@ const atrees = {
"type": "add_spell_prop",
"base_spell": 2,
"target_part": "Flying Kick",
"multipliers": [120, 0, 0, 10, 0, 20],
"multipliers": [120, 0, 0, 10, 0, 20]
},
{
"type": "add_spell_prop",
@ -3221,7 +3221,7 @@ const atrees = {
"name": "fDamPct"
},
"scaling": [2],
"max": 100,
"max": 100
}
]
},
@ -3335,7 +3335,7 @@ const atrees = {
"type": "add_spell_prop",
"base_spell": 2,
"target_part": "Flying Kick Max Damage",
"hits": { "Collide": 1 },
"hits": { "Collide": 1 }
}
]
},
@ -3419,7 +3419,7 @@ const atrees = {
"name": "mr"
},
"scaling": [0.25],
"max": 10,
"max": 10
}
]
},
@ -3599,7 +3599,7 @@ const atrees = {
"name": "aoe"
},
"scaling": [0.3333333333333333],
"max": 10,
"max": 10
}
]
},{

File diff suppressed because one or more lines are too long

View file

@ -52,7 +52,7 @@ for _class, info in atree_data.items():
if "abil" in _input and _input["abil"] in id_data[_class]:
_input["abil"] = id_data[_class][_input["abil"]]
if isinstance(effect["output"], list):
for output in effect["outputs"]:
for output in effect["output"]:
if "abil" in output and output["abil"] in id_data[_class]:
output["abil"] = id_data[_class][output["abil"]]
else: