diff --git a/PyPoE/cli/exporter/wiki/parsers/lua.py b/PyPoE/cli/exporter/wiki/parsers/lua.py index 412be577..11dbff5a 100644 --- a/PyPoE/cli/exporter/wiki/parsers/lua.py +++ b/PyPoE/cli/exporter/wiki/parsers/lua.py @@ -588,7 +588,7 @@ def main(self, parsed_args): for row in self.rr["BestiaryRecipeComponent.dat64"]: self._copy_from_keys(row, self._COPY_KEYS_BESTIARY_COMPONENTS, components) - if row["BeastRarity"] and row["BeastRarity"]["Id"] != "Unique": + if row["BeastRarity"]: display_string = "ItemDisplayString" + row["BeastRarity"]["Id"] client_strings = self.rr["ClientStrings.dat64"].index["Id"] components[-1]["rarity"] = client_strings[display_string]["Text"]