mirror of
https://github.com/earthjasonlin/zzz-signal-search-export.git
synced 2025-04-21 16:00:17 +08:00
fix: the pity value in excel is incorrect (#15)
This commit is contained in:
@ -4,7 +4,6 @@ const { app, ipcMain, dialog } = require('electron')
|
||||
const fs = require('fs-extra')
|
||||
const path = require('path')
|
||||
const i18n = require('./i18n')
|
||||
const cloneDeep = require('lodash-es/cloneDeep').default
|
||||
|
||||
function pad(num) {
|
||||
return `${num}`.padStart(2, "0");
|
||||
@ -87,7 +86,7 @@ const start = async () => {
|
||||
arr.push(total)
|
||||
arr.push(pity)
|
||||
temp.push(arr)
|
||||
if (log.rank_type === 5) {
|
||||
if (log.rank_type === '5') {
|
||||
pity = 0
|
||||
}
|
||||
// if (key === '301') {
|
||||
|
Reference in New Issue
Block a user