generated from nhcarrigan/template
fix: raise Sera/Mira/Vex companion unlock thresholds
This commit is contained in:
@@ -21,6 +21,8 @@ const UNLOCK_LABELS: Record<string, string> = {
|
||||
|
||||
const formatThreshold = (type: string, threshold: number): string => {
|
||||
if (type === "lifetimeGold") {
|
||||
if (threshold >= 1e18) return `${(threshold / 1e18).toFixed(0)}Qt`;
|
||||
if (threshold >= 1e15) return `${(threshold / 1e15).toFixed(0)}Q`;
|
||||
if (threshold >= 1e12) return `${(threshold / 1e12).toFixed(0)}T`;
|
||||
if (threshold >= 1e9) return `${(threshold / 1e9).toFixed(0)}B`;
|
||||
if (threshold >= 1e6) return `${(threshold / 1e6).toFixed(0)}M`;
|
||||
|
||||
Reference in New Issue
Block a user