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,10 +500,11 @@ def process_weapon(row, masks, caps):
] ]
if id in weapons: if id in weapons:
if not id in IGNORED_WEAPON_INFUSIONS:
weapon = weapons[id] weapon = weapons[id]
weapon["infusions"][infusion] = { weapon["infusions"][infusion] = {
"damage": damage, "damage": damage,
"upgrade": scaling, "scaling": scaling,
"masks": weapon_masks, "masks": weapon_masks,
"corrections": corrections, "corrections": corrections,
} }

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",
] ]