Skip to content

Commit

Permalink
Revert "Don't output rarity of unique beasts"
Browse files Browse the repository at this point in the history
  • Loading branch information
acbeaumo authored May 26, 2024
1 parent 3b6dce3 commit b69ee90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PyPoE/cli/exporter/wiki/parsers/lua.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit b69ee90

Please sign in to comment.