From b69ee9062b9de070511e048209ffbf9a609e0d6e Mon Sep 17 00:00:00 2001 From: Andrew Beaumont Date: Sun, 26 May 2024 10:31:55 -0400 Subject: [PATCH] Revert "Don't output rarity of unique beasts" --- PyPoE/cli/exporter/wiki/parsers/lua.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]