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 => {
|
const formatThreshold = (type: string, threshold: number): string => {
|
||||||
if (type === "lifetimeGold") {
|
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 >= 1e12) return `${(threshold / 1e12).toFixed(0)}T`;
|
||||||
if (threshold >= 1e9) return `${(threshold / 1e9).toFixed(0)}B`;
|
if (threshold >= 1e9) return `${(threshold / 1e9).toFixed(0)}B`;
|
||||||
if (threshold >= 1e6) return `${(threshold / 1e6).toFixed(0)}M`;
|
if (threshold >= 1e6) return `${(threshold / 1e6).toFixed(0)}M`;
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export const COMPANIONS: Companion[] = [
|
|||||||
title: "Arcane Alchemist",
|
title: "Arcane Alchemist",
|
||||||
description: "A brilliant alchemist who transmutes ambient magic into pure essence, bolstering your income.",
|
description: "A brilliant alchemist who transmutes ambient magic into pure essence, bolstering your income.",
|
||||||
bonus: { type: "essenceIncome", value: 0.30 },
|
bonus: { type: "essenceIncome", value: 0.30 },
|
||||||
unlock: { type: "prestige", threshold: 1 },
|
unlock: { type: "prestige", threshold: 10 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "kael",
|
id: "kael",
|
||||||
@@ -103,7 +103,7 @@ export const COMPANIONS: Companion[] = [
|
|||||||
title: "Merchant Queen",
|
title: "Merchant Queen",
|
||||||
description: "A wealthy merchant whose golden touch and trade empire dramatically boosts your passive earnings.",
|
description: "A wealthy merchant whose golden touch and trade empire dramatically boosts your passive earnings.",
|
||||||
bonus: { type: "passiveGold", value: 0.75 },
|
bonus: { type: "passiveGold", value: 0.75 },
|
||||||
unlock: { type: "lifetimeGold", threshold: 1e12 },
|
unlock: { type: "lifetimeGold", threshold: 1e18 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "vex",
|
id: "vex",
|
||||||
@@ -111,7 +111,7 @@ export const COMPANIONS: Companion[] = [
|
|||||||
title: "Shadow Broker",
|
title: "Shadow Broker",
|
||||||
description: "A shadowy information broker who channels essence from the void through forbidden knowledge.",
|
description: "A shadowy information broker who channels essence from the void through forbidden knowledge.",
|
||||||
bonus: { type: "essenceIncome", value: 0.75 },
|
bonus: { type: "essenceIncome", value: 0.75 },
|
||||||
unlock: { type: "transcendence", threshold: 1 },
|
unlock: { type: "transcendence", threshold: 5 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "pria",
|
id: "pria",
|
||||||
|
|||||||
Reference in New Issue
Block a user