Skip to content

Commit

Permalink
fix: include rarity of tooth moon key half
Browse files Browse the repository at this point in the history
  • Loading branch information
iProdigy authored Oct 31, 2024
1 parent 27245f1 commit b952ee5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/test/java/dinkplugin/RarityCalculator.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ public Transformed transform() {
this.itemId = -1;
this.quantity = "0";
}
if ("Tooth half of key (moon key)".equalsIgnoreCase(name)) {
// Workaround for https://discord.com/channels/790429747364626452/954397870889529385/1294355009798017044
this.itemId = 30105;
}
if (itemId == null || rarity == null || quantity == null) return null;
if (rarity.equals("Always") || rarity.equals("Varies") || rarity.equals("Random") || rarity.equals("Once") || rarity.equals("Unknown")) return null;
if (quantity.equals("Unknown") || quantity.equals("N/A")) return null;
Expand Down

0 comments on commit b952ee5

Please sign in to comment.