diff --git a/node_run/static/md5.js b/node_run/static/md5.js index 996b17a..a8fa941 100644 --- a/node_run/static/md5.js +++ b/node_run/static/md5.js @@ -3282,9 +3282,9 @@ return result }, get_obfuscated_value(a) { - var s = $.hashmap_str_str.h(0, a) - if (s == null) return "" - return s + var result = $.hashmap_str_str.h(0, a) + if (result == null) return "" + return result }, out_load_lan(a) { J.lY(a, new LanData.load_lan()) @@ -12360,7 +12360,7 @@ } q = new T.aq(n, l) - + output(p.current_count, p.target_count, p.win_count * 100 / p.current_count) //捕获胜率 if (p.current_count >= config[stage].count) { const { diff --git a/node_run/test.js b/node_run/test.js index a5d02d9..87af207 100644 --- a/node_run/test.js +++ b/node_run/test.js @@ -37,7 +37,7 @@ async function test(str){ resources: 'usable', beforeParse(window) { window.FakelocalStorage = localStorageMock; - window.config =[{"count":5000,"score":10}]; + window.config =[{"count":11000,"score":10}]; window.name_input = str; window.stage = 0; window.skillData = []; @@ -45,7 +45,10 @@ async function test(str){ console.log(args); resolvePromise(args); window.close(); - } + }; + window.output = (...message) => { + console.log('From the page:', message); + }; } });