mirror of
http://shenjack.top:5100/shenjack/icalingua-python-bot.git
synced 2024-11-23 20:45:06 +08:00
ruaaaa
This commit is contained in:
parent
769fd4b7cd
commit
5a6e38274d
|
@ -166,7 +166,7 @@ function wrap_any(names, round) {
|
||||||
else if ('win_count' in result) {
|
else if ('win_count' in result) {
|
||||||
win_rate_1 = result.win_count * 100 / round;
|
win_rate_1 = result.win_count * 100 / round;
|
||||||
win_rate_str = win_rate_1.toFixed(4);
|
win_rate_str = win_rate_1.toFixed(4);
|
||||||
output_str_1 = "\u6700\u7EC8\u80DC\u7387:|".concat(win_rate_str, "|(").concat(round, "\u8F6E)");
|
output_str_1 = "\u6700\u7EC8\u80DC\u7387:|".concat(win_rate_str, "%|(").concat(round, "\u8F6E)");
|
||||||
// 每 500 轮, 输出一次
|
// 每 500 轮, 输出一次
|
||||||
if (round > 500) {
|
if (round > 500) {
|
||||||
output_datas_1 = [];
|
output_datas_1 = [];
|
||||||
|
|
|
@ -148,7 +148,7 @@ async function wrap_any(names: string, round: number): Promise<string> {
|
||||||
// 胜率结果
|
// 胜率结果
|
||||||
const win_rate = result.win_count * 100 / round;
|
const win_rate = result.win_count * 100 / round;
|
||||||
let win_rate_str = win_rate.toFixed(4);
|
let win_rate_str = win_rate.toFixed(4);
|
||||||
let output_str = `最终胜率:|${win_rate_str}|(${round}轮)`;
|
let output_str = `最终胜率:|${win_rate_str}%|(${round}轮)`;
|
||||||
// 每 500 轮, 输出一次
|
// 每 500 轮, 输出一次
|
||||||
if (round > 500) {
|
if (round > 500) {
|
||||||
// 把所有要找的数据拿出来
|
// 把所有要找的数据拿出来
|
||||||
|
|
Loading…
Reference in New Issue
Block a user