加个 debug

This commit is contained in:
shenjack 2024-03-18 22:40:41 +08:00
parent ebbe3180c1
commit 6a3a9098a4
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 9 additions and 6 deletions

View File

@ -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 {

View File

@ -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);
};
}
});