fixed additional -s's

This commit is contained in:
Frederik Palmø 2022-04-07 10:15:07 +02:00
parent bddcba1f82
commit 35ab32ead5
2 changed files with 13 additions and 9 deletions

View File

@ -222,7 +222,7 @@ def main():
} }
chestpieces = { chestpieces = {
"no-chestpiece": { "no-chestpiece": {
"id": "no-chestpieces", "id": "no-chestpiece",
"name": "No chestpiece", "name": "No chestpiece",
"defenses": [0, 0, 0, 0, 0, 0, 0, 0], "defenses": [0, 0, 0, 0, 0, 0, 0, 0],
"resistances": [0, 0, 0, 0], "resistances": [0, 0, 0, 0],
@ -255,7 +255,7 @@ def main():
} }
talismans = { talismans = {
"no-talisman": { "no-talisman": {
"id": "no-talismans", "id": "no-talisman",
"name": "No talisman", "name": "No talisman",
}, },
**talismans, **talismans,
@ -265,6 +265,7 @@ def main():
"id": "unarmed", "id": "unarmed",
"name": "Unarmed", "name": "Unarmed",
"requirements": [0, 0, 0, 0, 0], "requirements": [0, 0, 0, 0, 0],
"category": "fist",
"unique": False, "unique": False,
"infusions": { "infusions": {
"standard": { "standard": {
@ -499,13 +500,14 @@ def process_weapon(row, masks, caps):
] ]
if id in weapons: if id in weapons:
weapon = weapons[id] if not id in IGNORED_WEAPON_INFUSIONS:
weapon["infusions"][infusion] = { weapon = weapons[id]
"damage": damage, weapon["infusions"][infusion] = {
"upgrade": scaling, "damage": damage,
"masks": weapon_masks, "scaling": scaling,
"corrections": corrections, "masks": weapon_masks,
} "corrections": corrections,
}
return return
else: else:
weapon = {} weapon = {}

View File

@ -165,4 +165,6 @@ IGNORED_WEAPON_INFUSIONS = [
"bloody-helice", "bloody-helice",
"mohgwyns-sacred-spear", "mohgwyns-sacred-spear",
"sacred-relic-sword", "sacred-relic-sword",
"treespear",
"serpentbone-blade",
] ]