mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2024-11-22 21:30:22 +08:00
fix: the pity value in excel is incorrect (#15)
This commit is contained in:
parent
38ed348865
commit
bbc52af184
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "star-rail-warp-export",
|
"name": "star-rail-warp-export",
|
||||||
"version": "0.0.11",
|
"version": "0.0.12",
|
||||||
"main": "./dist/electron/main/main.js",
|
"main": "./dist/electron/main/main.js",
|
||||||
"author": "biuuu <https://github.com/biuuu>",
|
"author": "biuuu <https://github.com/biuuu>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -4,7 +4,6 @@ const { app, ipcMain, dialog } = require('electron')
|
|||||||
const fs = require('fs-extra')
|
const fs = require('fs-extra')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
const i18n = require('./i18n')
|
const i18n = require('./i18n')
|
||||||
const cloneDeep = require('lodash-es/cloneDeep').default
|
|
||||||
|
|
||||||
function pad(num) {
|
function pad(num) {
|
||||||
return `${num}`.padStart(2, "0");
|
return `${num}`.padStart(2, "0");
|
||||||
@ -87,7 +86,7 @@ const start = async () => {
|
|||||||
arr.push(total)
|
arr.push(total)
|
||||||
arr.push(pity)
|
arr.push(pity)
|
||||||
temp.push(arr)
|
temp.push(arr)
|
||||||
if (log.rank_type === 5) {
|
if (log.rank_type === '5') {
|
||||||
pity = 0
|
pity = 0
|
||||||
}
|
}
|
||||||
// if (key === '301') {
|
// if (key === '301') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user