diff --git a/pyproject.toml b/pyproject.toml index 4e8302e5..93ce38cf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "Deadbot" -version = "1.12.0" +version = "1.12.1" description = "Bot that lives to serve deadlock.wiki" readme = "README.md" authors=[] diff --git a/src/parser/maps.py b/src/parser/maps.py index b8e75d58..ca3eb457 100644 --- a/src/parser/maps.py +++ b/src/parser/maps.py @@ -221,6 +221,8 @@ def class_to_scale_type(class_str: str) -> str | None: 'weapon_damage': 'EWeaponDamageScale', 'ability_charges': 'EMaxChargesIncrease', 'ability_recharge_time': 'ETechCooldown', # cooldown between charges + 'healing_spirit_scale': 'ETechPower', + 'healing_boon_scale': 'ELevelUpBoons', } enum_key = suffix_to_enum.get(suffix) if enum_key: diff --git a/src/parser/parsers/items.py b/src/parser/parsers/items.py index 66a01e8b..79add6ab 100644 --- a/src/parser/parsers/items.py +++ b/src/parser/parsers/items.py @@ -180,7 +180,7 @@ def _extract_scaling(self, attr: Dict[str, Any], item_key: str, attr_key: str) - if class_str: human_type = maps.class_to_scale_type(class_str) if not human_type: - return None + human_type = maps.get_scale_type('ETechPower') try: base_value = num_utils.assert_number(base_value_str)