erdtree-utils/corrections.py

169 lines
5.3 KiB
Python
Raw Normal View History

2022-03-25 21:24:43 +00:00
# dont add these items to the output
IGNORED = [
"",
"head",
"body",
"arms",
"legs",
"travel-hairstyle",
"millicents-robe",
"millicents-gloves",
"millicents-boots",
"millicents-tunic",
"millicents-robe",
"braves-cord-circlet",
"braves-battlewear",
"braves-battlewear-altered",
"braves-bracer",
"braves-legwraps",
"braves-leather-helm",
"ragged-hat",
"ragged-hat-altered",
"ragged-armor",
"ragged-armor-altered",
"ragged-gloves",
"ragged-loincloth",
2022-04-05 19:55:34 +00:00
"deathbed-smalls",
# these items are wrong in the param files
2022-03-25 21:24:43 +00:00
"ash-of-war-scarab",
"sanguine-noble-hood",
"sanguine-noble-robe",
"sanguine-noble-bracelets",
"sanguine-noble-trousers",
"fias-robe",
"fias-robe-altered",
2022-04-05 19:55:34 +00:00
"deathbed-dress",
"rotten-duelist-greaves",
2022-03-25 21:24:43 +00:00
]
# these items are either missing or wrong in the param files
MISSING = {
2022-04-05 19:55:34 +00:00
"helmets": {
"ash-of-war-scarab": {
2022-03-25 21:24:43 +00:00
"name": "Ash-of-War Scarab",
"defenses": [-5.8, -5.6, -5.8, -5.8, -4.9, -4.9, -4.9, -5.1],
"resistances": [42, 22, 27, 26],
"poise": 2,
"weight": 5.1,
},
2022-04-05 19:55:34 +00:00
"godskin-noble-hood": {
2022-03-25 21:24:43 +00:00
"name": "Godskin Noble Hood",
"defenses": [1.4, 2.8, 1.8, 1.4, 4.5, 4, 4.2, 4.8],
"resistances": [16, 10, 27, 29],
"poise": 1,
"weight": 1.7,
},
2022-04-05 19:55:34 +00:00
"sanguine-noble-hood": {
2022-03-25 21:24:43 +00:00
"name": "Sanguine Noble Hood",
"defenses": [1.4, 0.9, 0.9, 0.9, 4.6, 3.8, 4.5, 4.6],
"resistances": [18, 5, 29, 27],
"poise": 0,
"weight": 1.4,
},
2022-04-05 19:55:34 +00:00
},
"chestpieces": {
"godskin-noble-robe": {
2022-03-25 21:24:43 +00:00
"name": "Godskin Noble Robe",
"defenses": [6.1, 9.5, 6.7, 6.1, 13, 12.4, 12.6, 14.1],
"resistances": [46, 25, 76, 83],
"poise": 5,
"weight": 6.3,
},
2022-04-05 19:55:34 +00:00
"sanguine-noble-robe": {
2022-03-25 21:24:43 +00:00
"name": "Sanguine Noble Robe",
"defenses": [6.1, 5.3, 5.3, 5.3, 13.3, 11.9, 13.0, 13.5],
"resistances": [50, 21, 83, 76],
"poise": 2,
"weight": 5.1,
},
2022-04-05 19:55:34 +00:00
"fias-robe": {
2022-03-25 21:24:43 +00:00
"name": "Fia's Robe",
"defenses": [5.3, 6.1, 5.3, 5.3, 12.6, 12.4, 12.6, 13],
"resistances": [46, 21, 76, 108],
"poise": 2,
"weight": 5.1,
},
2022-04-05 19:55:34 +00:00
"fias-robe": {
2022-03-25 21:24:43 +00:00
"name": "Fia's Robe",
"defenses": [5.3, 6.1, 5.3, 5.3, 12.6, 12.4, 12.6, 13.0],
"resistances": [46, 21, 76, 108],
"poise": 2,
"weight": 5.1,
},
2022-04-05 19:55:34 +00:00
"fias-robe-altered": {
2022-03-25 21:24:43 +00:00
"name": "Fia's Robe (Altered)",
"defenses": [2.7, 4.2, 2.7, 2.7, 11.9, 11.4, 11.9, 12.6],
"resistances": [34, 10, 57, 93],
"poise": 0,
"weight": 3.2,
},
2022-04-05 19:55:34 +00:00
"deathbed-dress": {
"id": "deathbed-dress",
"name": "Deathbed Dress",
"defenses": [0.6, 2.7, 0.6, 0.6, 11.9, 11.4, 11.9, 12.4],
"resistances": [38, 11, 63, 107],
"poise": 1,
"weight": 3.2,
},
},
"gauntlets": {
"godskin-noble-bracelets": {
2022-03-25 21:24:43 +00:00
"name": "Godskin Noble Bracelets",
"defenses": [1.3, 2.1, 1.5, 1.3, 3.2, 2.9, 3.1, 3.4],
"resistances": [14, 8, 24, 25],
"poise": 1,
"weight": 1.7,
},
2022-04-05 19:55:34 +00:00
},
"leggings": {
"godskin-noble-trousers": {
2022-03-25 21:24:43 +00:00
"name": "Godskin Noble Trousers",
"defenses": [2.3, 4.5, 3, 2.3, 7.2, 6.5, 6.8, 7.7],
"resistances": [24, 14, 39, 41],
"poise": 1,
"weight": 2.5,
},
2022-04-05 19:55:34 +00:00
"rotten-duelist-greaves": {
"id": "rotten-duelist-greaves",
"name": "Rotten Duelist Greaves",
"defenses": [7.4, 6.2, 7.7, 7.1, 6.2, 6.5, 5.8, 6.2],
"resistances": [35, 35, 15, 15],
"poise": 10,
"weight": 7.3,
},
},
2022-03-25 21:24:43 +00:00
}
# until i find where this is located in the param files, this is the workaround
HELMET_STATS = {
"alberichs-pointed-hat": [0, 0, 0, 0, 0, 0, 0, 4],
"crimson-hood": [1, 0, 0, 0, 0, 0, 0, 0],
"haima-glintstone-crown": [0, 0, 0, 2, 0, 2, 0, 0],
"haligtree-helm": [0, 0, 0, 0, 0, 0, 1, 0],
"haligtree-knight-helm": [0, 0, 0, 0, 0, 0, 2, 0],
"hierodas-glintstone-crown": [0, 0, 2, 0, 0, 2, 0, 0],
"imp-head-cat": [0, 0, 0, 0, 0, 2, 0, 0],
"imp-head-corpse": [0, 0, 0, 0, 0, 0, 2, 0],
"imp-head-elder": [0, 0, 0, 0, 0, 0, 0, 2],
"imp-head-long-tongued": [0, 0, 0, 0, 2, 0, 0, 0],
"imp-head-wolf": [0, 0, 2, 0, 0, 0, 0, 0],
"imp-head-fanged": [0, 0, 0, 2, 0, 0, 0, 0],
"karolos-glinstone-crown": [0, 0, 0, 0, 0, 3, 0, 0],
"mask-of-confidence": [0, 0, 0, 0, 0, 0, 0, 3],
"navy-hood": [0, 1, 0, 0, 0, 0, 0, 0],
"okina-mask": [0, 0, 0, 0, 3, 0, 0, 0],
"olivinus-glintstone-crown": [0, 0, 0, 0, 0, 3, 0, 0],
"omensmirk-mask": [0, 0, 0, 2, 0, 0, 0, 0],
"queens-crescent-crown": [0, 0, 0, 0, 0, 3, 0, 0],
"silver-tear-mask": [0, 0, 0, 0, 0, 0, 0, 8],
"twinsage-glintstone-crown": [0, 0, 0, 0, 0, 6, 0, 0],
"witchs-glintstone-crown": [0, 0, 0, 0, 0, 3, 0, 3],
}
2022-03-25 23:49:37 +00:00
2022-04-05 19:55:34 +00:00
IGNORED_WEAPON_INFUSIONS = [
"heavy-crossbow",
"bloody-helice",
"mohgwyns-sacred-spear",
"sacred-relic-sword",
]