加一些小修改,我感觉快了(
This commit is contained in:
parent
70c8f58670
commit
6db6f3bde6
@ -6,7 +6,7 @@
|
|||||||
// 兼容nodejs, 要不然 window = {}; 会崩
|
// 兼容nodejs, 要不然 window = {}; 会崩
|
||||||
// 使用 global.window 修复了这个问题, 还是 strict 舒服
|
// 使用 global.window 修复了这个问题, 还是 strict 舒服
|
||||||
|
|
||||||
let name_input = "test\ntest2+aa";
|
let name_input = "!test!\natest\ntest2+aa";
|
||||||
let assets_data = {
|
let assets_data = {
|
||||||
lang: null,
|
lang: null,
|
||||||
gAd: null,
|
gAd: null,
|
||||||
@ -25,7 +25,7 @@ let logger = {
|
|||||||
debug: function (...msg) {
|
debug: function (...msg) {
|
||||||
if (run_env.from_code) {
|
if (run_env.from_code) {
|
||||||
// 上个色
|
// 上个色
|
||||||
console.log("\x1b[32mlogger: ", ...msg, "\x1b[0m")
|
console.log("\x1b[32mlogger:", ...msg, "\x1b[0m")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
info: function (...msg) {
|
info: function (...msg) {
|
||||||
@ -5689,11 +5689,9 @@ var A = {
|
|||||||
l = $.lO()
|
l = $.lO()
|
||||||
m.toString
|
m.toString
|
||||||
// if (l == null) H.throw_expression(H.R(l))
|
// if (l == null) H.throw_expression(H.R(l))
|
||||||
console.log("reaching weapon zone")
|
|
||||||
// if (H.iF(m, l, 0)) {
|
// if (H.iF(m, l, 0)) {
|
||||||
if (m.includes("+")) {
|
if (m.includes("+")) {
|
||||||
k = C.String.aT(m, $.lO())
|
k = C.String.aT(m, $.lO())
|
||||||
console.log("reach inner weapon zone", )
|
|
||||||
// j = C.String.dF(C.String.ay(m, k + $.i()))
|
// j = C.String.dF(C.String.ay(m, k + $.i()))
|
||||||
j = C.String.trim_name(C.String.ay(m, k + $.i()))
|
j = C.String.trim_name(C.String.ay(m, k + $.i()))
|
||||||
l = C.String.af(m, 0, k)
|
l = C.String.af(m, 0, k)
|
||||||
@ -12307,13 +12305,14 @@ L.iR.prototype = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
O() {
|
O() {
|
||||||
// 胜率评分
|
// 胜率评分 主循环
|
||||||
|
logger.debug("胜率主循环")
|
||||||
var async_goto = 0,
|
var async_goto = 0,
|
||||||
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
||||||
some_q, this_ = this,
|
some_q, this_ = this,
|
||||||
o, n, m, l, k, j, i, h, g, f, e, d
|
o, n, m, l, k, j, i, h, g, f, e, d
|
||||||
var $async$O = P._wrapJsFunctionForAsync(function (a, b) {
|
var $async$O = P._wrapJsFunctionForAsync(function (async_error_code, async_result) {
|
||||||
if (a === 1) return P.async_rethrow(b, async_completer)
|
if (async_error_code === 1) return P.async_rethrow(async_result, async_completer)
|
||||||
while (true) switch (async_goto) {
|
while (true) switch (async_goto) {
|
||||||
case 0:
|
case 0:
|
||||||
d = this_.x
|
d = this_.x
|
||||||
@ -12338,7 +12337,7 @@ L.iR.prototype = {
|
|||||||
async_goto = 5
|
async_goto = 5
|
||||||
return P._asyncAwait(T.inner_main(h), $async$O)
|
return P._asyncAwait(T.inner_main(h), $async$O)
|
||||||
case 5:
|
case 5:
|
||||||
g = b
|
g = async_result
|
||||||
f = null
|
f = null
|
||||||
case 6:
|
case 6:
|
||||||
// if (!true) {
|
// if (!true) {
|
||||||
@ -12348,7 +12347,7 @@ L.iR.prototype = {
|
|||||||
async_goto = 9
|
async_goto = 9
|
||||||
return P._asyncAwait(g.O(), $async$O)
|
return P._asyncAwait(g.O(), $async$O)
|
||||||
case 9:
|
case 9:
|
||||||
e = b
|
e = async_result
|
||||||
if (e == null) {
|
if (e == null) {
|
||||||
async_goto = 8
|
async_goto = 8
|
||||||
break
|
break
|
||||||
@ -12511,6 +12510,8 @@ V.iV.prototype = {
|
|||||||
if (q.length === 1) l.x = q[0]
|
if (q.length === 1) l.x = q[0]
|
||||||
},
|
},
|
||||||
O() {
|
O() {
|
||||||
|
// 实力评分 主循环
|
||||||
|
logger.debug("评分 主循环")
|
||||||
var async_goto = 0,
|
var async_goto = 0,
|
||||||
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
||||||
q, this_ = this,
|
q, this_ = this,
|
||||||
@ -12731,6 +12732,8 @@ X.iW.prototype = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
O() {
|
O() {
|
||||||
|
// 另一个评分主循环
|
||||||
|
logger.debug("评分2 主循环")
|
||||||
var async_goto = 0,
|
var async_goto = 0,
|
||||||
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
||||||
q, this_ = this,
|
q, this_ = this,
|
||||||
@ -16435,6 +16438,7 @@ T.fo.prototype = {
|
|||||||
},
|
},
|
||||||
O() {
|
O() {
|
||||||
// 运行时?
|
// 运行时?
|
||||||
|
logger.debug("运行 主循环")
|
||||||
var async_goto = 0,
|
var async_goto = 0,
|
||||||
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
async_completer = P._makeAsyncAwaitCompleter(t.d),
|
||||||
result_, p = [],
|
result_, p = [],
|
||||||
@ -20894,7 +20898,6 @@ function main() {
|
|||||||
m = window.sessionStorage.getItem(LangData.eQ("k"))
|
m = window.sessionStorage.getItem(LangData.eQ("k"))
|
||||||
l = X.f4(m, 0)
|
l = X.f4(m, 0)
|
||||||
k = LangData.oC(false)
|
k = LangData.oC(false)
|
||||||
console.log("k:", k)
|
|
||||||
a8 = t.i
|
a8 = t.i
|
||||||
j = H.b([], a8)
|
j = H.b([], a8)
|
||||||
J.rr(j, H.b([1, 3, 0, 9], a8))
|
J.rr(j, H.b([1, 3, 0, 9], a8))
|
||||||
@ -20996,5 +20999,5 @@ function main() {
|
|||||||
return P._asyncStartSync($async$iE, async_completer)
|
return P._asyncStartSync($async$iE, async_completer)
|
||||||
}
|
}
|
||||||
|
|
||||||
main() // 执行main函数
|
logger.debug("running main:", main()) // 执行main函数
|
||||||
logger.debug(X.k("?`C3ou}R1L", 67))
|
logger.debug(X.k("?`C3ou}R1L", 67))
|
Loading…
Reference in New Issue
Block a user