Skip to content

Commit

Permalink
recognize frozen crew from profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathaniel Moschkin committed Oct 5, 2024
1 parent 5e3bdcd commit 5696f1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/beholdcalc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ export async function calculateBehold(message: Message, beholdResult: any, fromC
}

let entry = filter[0];
beholdResult["crew" + (i + 1).toString()].stars = entry.rarity;
beholdResult["crew" + (i + 1).toString()].stars = entry.rarity ?? bc.max_rarity;

if (entry.rarity !== undefined && entry.rarity < bc.max_rarity) {
found[i] = entry.rarity + 1;
Expand Down

0 comments on commit 5696f1a

Please sign in to comment.