Skip to content

Commit e1b3e30

Browse files
committed
Resolve pity cutoff from formula
1 parent acd735d commit e1b3e30

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pages/tools/gachacalc.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const gachas: Record<string, Banner> = {
3333
constFormat: "C",
3434
constName: "Constellation",
3535
maxPity: 90,
36-
rate: pityRate(0.6, 74)
36+
rate: pityRate(0.6, Math.ceil(44 / 0.6))
3737
},
3838
"4*char": {
3939
bannerName: "Specific 4* banner character",
@@ -44,7 +44,7 @@ const gachas: Record<string, Banner> = {
4444
constFormat: "C",
4545
constName: "Constellation",
4646
maxPity: 10,
47-
rate: pityRate(5.1, 9)
47+
rate: pityRate(5.1, Math.ceil(44 / 5.1))
4848
},
4949
weapon: {
5050
bannerName: "Specific 5* banner weapon",
@@ -56,7 +56,7 @@ const gachas: Record<string, Banner> = {
5656
constFormat: "R",
5757
constName: "Refinement",
5858
maxPity: 80,
59-
rate: pityRate(0.7, 63)
59+
rate: pityRate(0.7, Math.ceil(44 / 0.7))
6060
},
6161
"4*weapon": {
6262
bannerName: "Specific 4* banner weapon",
@@ -67,7 +67,7 @@ const gachas: Record<string, Banner> = {
6767
constFormat: "R",
6868
constName: "Refinement",
6969
maxPity: 10,
70-
rate: pityRate(6, 9)
70+
rate: pityRate(6.0, Math.ceil(44 / 6.0))
7171
},
7272
}
7373

0 commit comments

Comments
 (0)