This commit is contained in:
shenjack 2024-08-15 22:59:24 +08:00
parent 5af0d8dfa6
commit ccc4448329
Signed by: shenjack
GPG Key ID: 7B1134A979775551

View File

@ -17375,7 +17375,7 @@ T.Plr.prototype = {
this_.E = name this_.E = name
this_.ac() // createSkills, 对this.k1直接操作顺序固定 this_.ac() // createSkills, 对this.k1直接操作顺序固定
this_.k2 = this_.X.dH(this_.k1, t.c5) this_.k2 = this_.X.dH(this_.k1, t.c5)
// rc4.next // rc4.sort
}, },
bf() { bf() {
// MARK: 名字长度系数计算 // MARK: 名字长度系数计算
@ -17389,8 +17389,9 @@ T.Plr.prototype = {
if (p > $.au()) throw H.wrap_expression(p) if (p > $.au()) throw H.wrap_expression(p)
q = T.lC(q) // name q = T.lC(q) // name
p = T.lC(this_.b) // team p = T.lC(this_.b) // team
s = $.a4() // 6 // s = $.a4() // 6
this_.x = Math.max(H.ar(q), p - s) // this_.x = Math.max(H.ar(q), p - s)
this_.x = Math.max(H.ar(q), p - 6)
// logger.info("name", this.a, "team", this.b, "x(final)", this_.x, "p(team)", p, "q(name)", q) // logger.info("name", this.a, "team", this.b, "x(final)", this_.x, "p(team)", p, "q(name)", q)
}, },
b0(a, b) { b0(a, b) {
@ -17406,16 +17407,19 @@ T.Plr.prototype = {
/// upgrade leader from team member /// upgrade leader from team member
var s, this_ = this var s, this_ = this
if (a.length === this_.t.length) { if (a.length === this_.t.length) {
for (s = $.ap(); s < this_.t.length; ++s) for (s = $.ap(); s < this_.t.length; ++s) {
if ((a[s - 1] === this_.E[s]) && a[s] > this_.t[s]) { if ((a[s - 1] === this_.E[s]) && a[s] > this_.t[s]) {
this_.t[s] = a[s] this_.t[s] = a[s]
} }
if (this_.a == this_.b) }
for (s = $.X(); s < this_.t.length; ++s) if (this_.a == this_.b) {
for (s = $.X(); s < this_.t.length; ++s) {
if ((a[s - $.t()] === this_.E[s]) && a[s] > this_.t[s]) { if ((a[s - $.t()] === this_.E[s]) && a[s] > this_.t[s]) {
this_.t[s] = a[s] this_.t[s] = a[s]
} }
} }
}
}
}, },
cg() { cg() {
// buildAsync wrapper // buildAsync wrapper
@ -17484,14 +17488,16 @@ T.Plr.prototype = {
aU() { aU() {
// initRawAttr // initRawAttr
var s, r, q, p, this_ = this var s, r, q, p, this_ = this
for (s = $.Z(); s < 31; s += $.B()) { // for (s = $.Z(); s < 31; s += $.B()) {
for (s = 10; s < 31; s += $.B()) {
r = this_.q r = this_.q
q = C.Array.al(this_.t, s, s + $.B()) q = C.Array.al(this_.t, s, s + $.B())
if (!!q.immutable$list) H.throw_expression(P.UnsupportError("sort")) // if (!!q.immutable$list) H.throw_expression(P.UnsupportError("sort"))
p = q.length - 1 p = q.length - 1
// sort
if (p - 0 <= 32) H.ej(q, 0, p, J.bO()) if (p - 0 <= 32) H.ej(q, 0, p, J.bO())
else H.ei(q, 0, p, J.bO()) else H.ei(q, 0, p, J.bO())
C.Array.j(r, q[1]) C.Array.j(r, q[1]) // push
} }
r = this_.q r = this_.q
@ -17618,7 +17624,6 @@ T.Plr.prototype = {
} }
} }
} }
} catch (error) { } catch (error) {
console.log("error diy") console.log("error diy")
console.error(error) console.error(error)
@ -19174,16 +19179,16 @@ T.Weapon.prototype = {
}, },
bn() { bn() {
// preUpgrade // preUpgrade
var s, r, q, p = this, var s, r, q, this_ = this,
o = 0 o = 0
for (s = $.Z(), r = p.c; s < $.d1(); s += $.B()) { for (s = $.Z(), r = this_.c; s < $.d1(); s += $.B()) {
o += p.cB(r.E, r.t, p.d, s) o += this_.cB(r.E, r.t, this_.d, s)
} }
r = C.JsInt.P($.mY() - o, $.a4()) r = C.JsInt.P($.mY() - o, $.a4())
p.f = r this_.f = r
q = 0 q = 0
if (r < q) { if (r < q) {
p.f = q this_.f = q
} }
}, },
cs() { cs() {
@ -20554,7 +20559,8 @@ var t = (function rtii() {
return X.k("uo2[vY3QwA", 3) return X.k("uo2[vY3QwA", 3)
}) })
lazy_old($, "wQ", "B", function () { lazy_old($, "wQ", "B", function () {
return X.k("Cv.c@Ovh.D", 22) // return X.k("Cv.c@Ovh.D", 22)
return 3
}) })
lazy_old($, "wa", "p8", function () { lazy_old($, "wa", "p8", function () {
return X.k("o8#!>[]y<J", 57) return X.k("o8#!>[]y<J", 57)