Skip to content

Commit b326d8d

Browse files
committed
Update gc text
1 parent deaadcd commit b326d8d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pages/events.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export default function Events(props: Props & { location: string }) {
6060
useEffect(() => {
6161
const timer = setTimeout(() => {
6262
setNow(Date.now())
63-
}, 10050 - (Date.now() % 10000))
63+
}, 1010 - (Date.now() % 1000))
6464

6565
return () => clearTimeout(timer)
6666
}, [now])

pages/tools/gachacalc.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const gachas: Record<string, Banner> = {
3131
minConst: -1,
3232
maxConst: 6,
3333
constFormat: "C",
34-
constName: "Constellations",
34+
constName: "Constellation",
3535
maxPity: 90,
3636
rate: pityRate(0.6, 74)
3737
},
@@ -42,7 +42,7 @@ const gachas: Record<string, Banner> = {
4242
minConst: -1,
4343
maxConst: 6,
4444
constFormat: "C",
45-
constName: "Constellations",
45+
constName: "Constellation",
4646
maxPity: 10,
4747
rate: pityRate(5.1, 9)
4848
},
@@ -54,7 +54,7 @@ const gachas: Record<string, Banner> = {
5454
minConst: 0,
5555
maxConst: 5,
5656
constFormat: "R",
57-
constName: "Refinements",
57+
constName: "Refinement",
5858
maxPity: 80,
5959
rate: pityRate(0.7, 63)
6060
}
@@ -145,7 +145,7 @@ export default function GachaCalc({ location }: { location: string }) {
145145
setGacha(g)
146146
}} value={gachaName} options={Object.values(gachas).map(g => g.bannerName)} />
147147
<NumberInput label="Pulls" set={setPulls} value={pulls} min={0} max={1260} />
148-
<NumberInput label={`Current ${banner.constFormat}`} set={setCurrent} value={current} min={banner.minConst} max={banner.maxConst} />
148+
<NumberInput label={`Current ${banner.constName.toLowerCase()}`} set={setCurrent} value={current} min={banner.minConst} max={banner.maxConst} />
149149
<NumberInput label="Current pity" set={setPity} value={pity} min={0} max={banner.maxPity - 1} />
150150
<CheckboxInput label="Next is guaranteed" set={setGuaranteed} value={guaranteed} />
151151
{banner.guaranteedPity && <NumberInput label="Epitomized Path" set={setGuaranteedPity} value={guaranteedPity} min={0} max={banner.guaranteedPity - 1} />}

0 commit comments

Comments
 (0)