diff --git a/ica-rs/plugins/md5/md5-api.js b/ica-rs/plugins/md5/md5-api.js index bdd2f75..289213a 100644 --- a/ica-rs/plugins/md5/md5-api.js +++ b/ica-rs/plugins/md5/md5-api.js @@ -166,7 +166,7 @@ function wrap_any(names, round) { else if ('win_count' in result) { win_rate_1 = result.win_count * 100 / round; 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 轮, 输出一次 if (round > 500) { output_datas_1 = []; diff --git a/ica-rs/plugins/md5/md5-api.ts b/ica-rs/plugins/md5/md5-api.ts index a1cd785..3638c86 100644 --- a/ica-rs/plugins/md5/md5-api.ts +++ b/ica-rs/plugins/md5/md5-api.ts @@ -148,7 +148,7 @@ async function wrap_any(names: string, round: number): Promise { // 胜率结果 const win_rate = result.win_count * 100 / round; let win_rate_str = win_rate.toFixed(4); - let output_str = `最终胜率:|${win_rate_str}|(${round}轮)`; + let output_str = `最终胜率:|${win_rate_str}%|(${round}轮)`; // 每 500 轮, 输出一次 if (round > 500) { // 把所有要找的数据拿出来