Skip to content

Commit

Permalink
Fix IsRechargeableItem logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaioru committed Oct 2, 2024
1 parent 0737d13 commit fa01ddd
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,7 @@ public static bool IsItemOptionUpgradeItem(this int itemID)
=> itemID / 100 == 20494;

public static bool IsRechargeableItem(this int itemID)
=> (itemID / 10000) switch
{
207 or 233 => true,
_ => false
};
=> itemID / 10000 is 207 or 233;

public static bool IsReleaseItem(this int itemID)
=> itemID / 10000 == 246;
Expand Down

0 comments on commit fa01ddd

Please sign in to comment.