Compare commits

..

No commits in common. "087199fb0dfa3ddc186fa13eb2e1e3ed5a3365f3" and "d655b4f19a56acd6a912d85edf8207c39a7a11f9" have entirely different histories.

View File

@ -959,8 +959,7 @@ var H = {
} }
return r return r
}, },
char_code_to_char(a) { cC(a) {
// unicodeToChar
var s var s
if (a <= 65535) return String.fromCharCode(a) if (a <= 65535) return String.fromCharCode(a)
if (a <= 1114111) { if (a <= 1114111) {
@ -4660,8 +4659,6 @@ var H = {
}, },
T = { T = {
ty(a, b, c, d, e) { ty(a, b, c, d, e) {
// SklAbsorb 的 onDamage (static)
// static void onDamage(Plr caster, Plr target, int dmg, R r, RunUpdates updates) {
var s, r, q, p = 0 var s, r, q, p = 0
if (c > p && !(a.fx <= p)) { if (c > p && !(a.fx <= p)) {
s = C.JsInt.P(c + 1, $.t()) s = C.JsInt.P(c + 1, $.t())
@ -4670,7 +4667,6 @@ var H = {
q = p - r q = p - r
if (s > q) s = q if (s > q) s = q
a.fx = r + s a.fx = r + s
// [1]回复体力[2]点
p = LangData.get_lang("imin") p = LangData.get_lang("imin")
r = new T.HPlr(r) r = new T.HPlr(r)
r.a = a.e r.a = a.e
@ -4833,7 +4829,7 @@ var H = {
ica_state = t.ck.a(r.h(0, $.bS())) ica_state = t.ck.a(r.h(0, $.bS()))
if (ica_state == null) { if (ica_state == null) {
ica_state = new T.IceState(b, $.cX()) ica_state = new T.IceState(b, $.cX())
ica_state.x = new T.PreStepImpl(ica_state) ica_state.x = new T.fY(ica_state)
r.m(0, $.bS(), ica_state) r.m(0, $.bS(), ica_state)
b.rx.j(0, ica_state) b.rx.j(0, ica_state)
b.ry.j(0, ica_state.x) b.ry.j(0, ica_state.x)
@ -5940,14 +5936,14 @@ var H = {
d = 0, d = 0,
c = H.b([d, d, d, d, d, d], t.i), c = H.b([d, d, d, d, d, d], t.i),
b = 0 b = 0
e.a = -$.t() // -2 e.a = -$.t()
e.b = -1 e.b = -1
e.c = b e.c = b
s = new T.lD(e, c) s = new T.lD(e, c)
for (d = a.length, r = b; r < d; ++r) { for (d = a.length, r = b; r < d; ++r) {
q = C.String.a8(a, r) q = C.String.a8(a, r)
if (q < $.d_()) { if (q < $.d_()) {
if (q === $.at()) { // 32 if (q === $.at()) {
++b ++b
continue continue
} }
@ -6023,9 +6019,9 @@ var H = {
H.ar(d) H.ar(d)
H.ar(p) H.ar(p)
p = Math.pow(d, p) p = Math.pow(d, p)
d = $.pB() // 32 d = $.pB()
o = c[1] o = c[1]
H.ar(d) // 检查是否为 number H.ar(d)
H.ar(o) H.ar(o)
o = Math.pow(d, o) o = Math.pow(d, o)
d = $.pS() d = $.pS()
@ -6059,7 +6055,7 @@ var H = {
d = $.rq() d = $.rq()
if (g < -d) return (g + d) / ($.pD() + d - T.mw().a) if (g < -d) return (g + d) / ($.pD() + d - T.mw().a)
} }
return $.ao() // 0 return $.ao()
}, },
DummyRunUpdates(a, b) { DummyRunUpdates(a, b) {
var s = a.Q - b.Q var s = a.Q - b.Q
@ -7417,8 +7413,8 @@ var H = {
jY: function jY() { }, jY: function jY() { },
IMeta: function x() { }, IMeta: function x() { },
UpdateStateEntry: function aZ() { }, UpdateStateEntry: function aZ() { },
PreStepEntry: function cB() { }, cB: function cB() { },
PreDefendEntry: function bH() { }, bH: function bH() { },
PostDefendEntry: function aB() { }, PostDefendEntry: function aB() { },
PostDamageEntry: function ah() { }, PostDamageEntry: function ah() { },
PreActionEntry: function aV() { }, PreActionEntry: function aV() { },
@ -7429,7 +7425,7 @@ var H = {
_.x = a _.x = a
_.c = _.b = _.a = null _.c = _.b = _.a = null
}, },
PreStepImpl: function fY(a) { fY: function fY(a) {
var _ = this var _ = this
_.x = a _.x = a
_.c = _.b = _.a = null _.c = _.b = _.a = null
@ -7506,7 +7502,7 @@ var H = {
_.f = a _.f = a
_.c = _.b = _.a = _.r = null _.c = _.b = _.a = _.r = null
}, },
ProtectStat: function dV(a, b) { dV: function dV(a, b) {
var _ = this var _ = this
_.r = a _.r = a
_.x = b _.x = b
@ -10997,39 +10993,39 @@ P.lb.prototype = {
return q.eO(a, b, c, d) return q.eO(a, b, c, d)
}, },
eO(a, b, c, d) { eO(a, b, c, d) {
var s, r, q, p, o, n, m, this_ = this, var s, r, q, p, o, n, m, l = this,
k = 65533, k = 65533,
j = this_.b, j = l.b,
i = this_.c, i = l.c,
h = new P.cH(""), h = new P.cH(""),
g = b + 1, g = b + 1,
f = a[b] f = a[b]
$label0$0: for (s = this_.a; true;) { $label0$0: for (s = l.a; true;) {
for (; true; g = p) { for (; true; g = p) {
r = C.String.a8("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", f) & 31 r = C.String.a8("AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE", f) & 31
i = j <= 32 ? f & 61694 >>> r : (f & 63 | i << 6) >>> 0 i = j <= 32 ? f & 61694 >>> r : (f & 63 | i << 6) >>> 0
j = C.String.a8(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", j + r) j = C.String.a8(" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\x00\x00\x00\x00\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\x800AAAAA\x00\x00\x00\x00 AAAAA", j + r)
if (j === 0) { if (j === 0) {
h.a += H.char_code_to_char(i) h.a += H.cC(i)
if (g === c) break $label0$0 if (g === c) break $label0$0
break break
} else if ((j & 1) !== 0) { } else if ((j & 1) !== 0) {
if (s) switch (j) { if (s) switch (j) {
case 69: case 69:
case 67: case 67:
h.a += H.char_code_to_char(k) h.a += H.cC(k)
break break
case 65: case 65:
h.a += H.char_code_to_char(k); h.a += H.cC(k);
--g --g
break break
default: default:
q = h.a += H.char_code_to_char(k) q = h.a += H.cC(k)
h.a = q + H.char_code_to_char(k) h.a = q + H.cC(k)
break break
} else { } else {
this_.b = j l.b = j
this_.c = g - 1 l.c = g - 1
return "" return ""
} }
j = 0 j = 0
@ -11056,21 +11052,21 @@ P.lb.prototype = {
p = n p = n
} }
if (o - g < 20) if (o - g < 20)
for (m = g; m < o; ++m) h.a += H.char_code_to_char(a[m]) for (m = g; m < o; ++m) h.a += H.cC(a[m])
else h.a += P.mh(a, g, o) else h.a += P.mh(a, g, o)
if (o === c) break $label0$0 if (o === c) break $label0$0
g = p g = p
} else g = p } else g = p
} }
if (d && j > 32) if (d && j > 32)
if (s) h.a += H.char_code_to_char(k) if (s) h.a += H.cC(k)
else { else {
this_.b = 77 l.b = 77
this_.c = c l.c = c
return "" return ""
} }
this_.b = j l.b = j
this_.c = i l.c = i
s = h.a s = h.a
return s.charCodeAt(0) == 0 ? s : s return s.charCodeAt(0) == 0 ? s : s
} }
@ -14042,8 +14038,6 @@ T.SklAbsorb.prototype = {
var s = a[0].a, var s = a[0].a,
r = T.getAt(this.r, true, c), r = T.getAt(this.r, true, c),
q = $.ph() q = $.ph()
// sklAbsorb
// [0]发起[吸血攻击]
d.a.push(T.RunUpdate_init(LangData.get_lang("FfpA"), this.r, s, null, null, 1, 1000, 100)) d.a.push(T.RunUpdate_init(LangData.get_lang("FfpA"), this.r, s, null, null, 1, 1000, 100))
s.a3(r * q, true, this.r, T.v6(), c, d) s.a3(r * q, true, this.r, T.v6(), c, d)
} }
@ -14154,11 +14148,8 @@ T.SklAssassinate.prototype = {
} }
}, },
aD(a, b, c, d) { aD(a, b, c, d) {
// postDamage
var s = d.a var s = d.a
s.push($.K()) s.push($.K())
// sklAssassinateFailed
// [0]的[潜行]被识破
s.push(T.RunUpdateCancel_init(LangData.get_lang("kMgn"), this.r, this.fy)) s.push(T.RunUpdateCancel_init(LangData.get_lang("kMgn"), this.r, this.fy))
this.ah(0) this.ah(0)
}, },
@ -14396,7 +14387,7 @@ T.PlrClone.prototype = {
bf() { bf() {
var s = T.lC(this.a6.a), var s = T.lC(this.a6.a),
r = T.lC(this.b), r = T.lC(this.b),
q = $.a4() // 6 q = $.a4()
this.x = Math.max(H.ar(s), r - q) this.x = Math.max(H.ar(s), r - q)
}, },
$ibC: 1 $ibC: 1
@ -16688,13 +16679,8 @@ T.Engine.prototype = {
b0 = sorted_names[h] b0 = sorted_names[h]
// async_goto = 6 // async_goto = 6
name2p.h(0, b0).az() name2p.h(0, b0).az()
// 说明: // return P._asyncAwait(name2p.h(0, b0).cg(), $async$bD)
// 这里的 await 实际上是没意义的 // case 6:
// 因为 .cg 实际上只是 .az 的 async 包装
// 这里又直接 await 了,实际上是多余的
// 所以直接去掉这个分支, 同时直接调用 .az
// return P._asyncAwait(name2p.h(0, b0).cg(), $async$bD)
// case 6:
n = name2p.h(0, b0) n = name2p.h(0, b0)
m = this_.b // rc4_holder m = this_.b // rc4_holder
// name2p[name].sortInt = r.rFFFFFF; // name2p[name].sortInt = r.rFFFFFF;
@ -16765,7 +16751,7 @@ T.Engine.prototype = {
// players[roundPos].step(r, updates); // players[roundPos].step(r, updates);
J.rz(players[p], this_.b, b) J.rz(players[p], this_.b, b)
for (q = t.Y; p = b.b, p.length !== 0;) { for (q = t.Y; p = b.b, p.length !== 0;) {
b.b = H.b([], q) b.b = H.b([], q)
for (players = p.length, s = 0; s < p.length; p.length === players || (0, H.F)(p), ++s) p[s].$2(this_.b, b) for (players = p.length, s = 0; s < p.length; p.length === players || (0, H.F)(p), ++s) p[s].$2(this_.b, b)
@ -17245,23 +17231,18 @@ T.Plr.prototype = {
// rc4.next // rc4.next
}, },
bf() { bf() {
// 检查名字长度
var s, this_ = this, var s, this_ = this,
q = this_.a, // name q = this_.a,
p = q.length // name.length p = q.length
// > 80
if (p > $.b3()) throw H.wrap_expression(p) if (p > $.b3()) throw H.wrap_expression(p)
p = this_.b.length p = this_.b.length
// > 64
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)
p = T.lC(this_.b) // team p = T.lC(this_.b)
s = $.a4() // 6 s = $.a4()
this_.x = Math.max(H.ar(q), p - s) this_.x = Math.max(H.ar(q), p - s)
console.log("name", this.a, "team", this.b, "x(final)", this_.x, "p(team)", p, "q(name)", q)
}, },
b0(a, b) { b0(a, b) {
// 这又是啥
return C.d.aI(a * ($.T() - this.x / b)) return C.d.aI(a * ($.T() - this.x / b))
}, },
cA(a) { cA(a) {
@ -17283,7 +17264,7 @@ T.Plr.prototype = {
} }
}, },
cg() { cg() {
// buildAsync wrapper // buildAsync outer?
var s = 0, var s = 0,
r = P._makeAsyncAwaitCompleter(t.z), r = P._makeAsyncAwaitCompleter(t.z),
this_ = this this_ = this
@ -17298,12 +17279,9 @@ T.Plr.prototype = {
return P._asyncStartSync($async$cg, r) return P._asyncStartSync($async$cg, r)
}, },
az() { az() {
// buildAsync inner // buildAsync
var weapon, diy, this_ = this var weapon, diy, this_ = this
// 检查名字长度
this_.bf() this_.bf()
weapon = this_.weapon weapon = this_.weapon
if (weapon != null) weapon.bn() // preUpgrade if (weapon != null) weapon.bn() // preUpgrade
@ -17331,7 +17309,7 @@ T.Plr.prototype = {
} }
if (diyskills) { if (diyskills) {
this_.diy_skills(diyskills) this_.diy_skills(diyskills)
} else this_.dm(C.Array.cL(this_.t, 64), C.Array.cL(this_.E, 64)) // initSkills } else this_.dm(C.Array.cL(this_.t, $.au()), C.Array.cL(this_.E, $.au())) // initSkills
} else { } else {
this_.dm(C.Array.cL(this_.t, $.au()), C.Array.cL(this_.E, $.au())) // initSkills this_.dm(C.Array.cL(this_.t, $.au()), C.Array.cL(this_.E, $.au())) // initSkills
} }
@ -17873,8 +17851,8 @@ T.IMeta.prototype = {
K(a, b) { } K(a, b) { }
} }
T.UpdateStateEntry.prototype = {} T.UpdateStateEntry.prototype = {}
T.PreStepEntry.prototype = {} T.cB.prototype = {}
T.PreDefendEntry.prototype = {} T.bH.prototype = {}
T.PostDefendEntry.prototype = {} T.PostDefendEntry.prototype = {}
T.PostDamageEntry.prototype = {} T.PostDamageEntry.prototype = {}
T.PreActionEntry.prototype = {} T.PreActionEntry.prototype = {}
@ -17888,7 +17866,7 @@ T.UpdateStateImpl.prototype = {
return 1 / 0 return 1 / 0
} }
} }
T.PreStepImpl.prototype = { T.fY.prototype = {
ga4() { ga4() {
return 1 / 0 return 1 / 0
} }
@ -18207,7 +18185,7 @@ T.SklMerge.prototype = {
}, },
$ify: 1 $ify: 1
} }
T.ProtectStat.prototype = { T.dV.prototype = {
gT() { gT() {
return 0 return 0
}, },
@ -18247,8 +18225,6 @@ T.ProtectStat.prototype = {
var s, r, q, p = this.dG(f) var s, r, q, p = this.dG(f)
if (p != null) { if (p != null) {
s = p.r s = p.r
// sklProtect
// [0][守护][1]
g.a.push(T.RunUpdate_init(LangData.get_lang("JzmA"), s, d, null, null, $.bg(), 1000, 100)) g.a.push(T.RunUpdate_init(LangData.get_lang("JzmA"), s, d, null, null, $.bg(), 1000, 100))
a = s.du(a, b, c, e, f, g) a = s.du(a, b, c, e, f, g)
r = $.ao() r = $.ao()
@ -18293,7 +18269,7 @@ T.SklProtect.prototype = {
n = o.r2 n = o.r2
r = t.Q.a(n.h(0, $.d6())) r = t.Q.a(n.h(0, $.d6()))
if (r == null) { if (r == null) {
r = new T.ProtectStat(o, H.b([], t.gN)) r = new T.dV(o, H.b([], t.gN))
n.m(0, $.d6(), r) n.m(0, $.d6(), r)
o.y1.j(0, r) o.y1.j(0, r)
} }
@ -19456,11 +19432,7 @@ LangData.k_.prototype = {
inherit(P.kx, P.kw) inherit(P.kx, P.kw)
inherit(P.cF, P.p) inherit(P.cF, P.p)
inherit(HtmlRenderer.fW, HtmlRenderer.PlrView) inherit(HtmlRenderer.fW, HtmlRenderer.PlrView)
inherit_many(Sgls.MEntry, inherit_many(Sgls.MEntry, [T.Skill, T.UpdateStateEntry, T.PostDefendEntry, T.PostActionEntry, T.cB, T.bH, T.PostDamageEntry, T.PreActionEntry, T.aF])
[T.Skill, T.UpdateStateEntry, T.PostDefendEntry,
T.PostActionEntry, T.PreStepEntry, T.PreDefendEntry,
T.PostDamageEntry, T.PreActionEntry, T.aF]
)
inherit_many(T.Skill, inherit_many(T.Skill,
[T.ActionSkill, T.SklAokijiDefend, T.SklCovidDefend, T.SklIkarugaDefend, [T.ActionSkill, T.SklAokijiDefend, T.SklCovidDefend, T.SklIkarugaDefend,
T.SklLazyDefend, T.SklMarioReraise, T.SklSlimeSpawn, T.SklLazyDefend, T.SklMarioReraise, T.SklSlimeSpawn,
@ -19497,12 +19469,12 @@ LangData.k_.prototype = {
inherit(T.SklYuriControl, T.SklCharm) inherit(T.SklYuriControl, T.SklCharm)
inherit_many(T.IPlr, [T.NPlr, T.HPlr, T.MPlr, T.DPlr]) inherit_many(T.IPlr, [T.NPlr, T.HPlr, T.MPlr, T.DPlr])
inherit_many(T.RunUpdate, [T.RunUpdateCancel, T.RunUpdateWin]) inherit_many(T.RunUpdate, [T.RunUpdateCancel, T.RunUpdateWin])
inherit(T.PreStepImpl, T.PreStepEntry) inherit(T.fY, T.cB)
inherit(T.PostDamageImpl, T.PostDamageEntry) inherit(T.PostDamageImpl, T.PostDamageEntry)
inherit_many(T.PreActionEntry, [T.PreActionImpl, T.RinickModifierPreAction]) inherit_many(T.PreActionEntry, [T.PreActionImpl, T.RinickModifierPreAction])
inherit(T.cp, T.aF) inherit(T.cp, T.aF)
inherit(T.ij, T.PreDefendEntry) inherit(T.ij, T.bH)
inherit(T.ProtectStat, T.ij) inherit(T.dV, T.ij)
inherit(T.ShieldStat_, T.ShieldStat) inherit(T.ShieldStat_, T.ShieldStat)
inherit_many(T.Weapon, [T.BossWeapon, T.WeaponDeathNote, T.GuiYue, T.NoWeapon, T.RinickModifier, T.WeaponS11, T.kv]) inherit_many(T.Weapon, [T.BossWeapon, T.WeaponDeathNote, T.GuiYue, T.NoWeapon, T.RinickModifier, T.WeaponS11, T.kv])
inherit(T.hy, T.SklMarioReraise) inherit(T.hy, T.SklMarioReraise)
@ -20349,8 +20321,7 @@ var t = (function rtii() {
}) })
// MARK: 数字反混淆 // MARK: 数字反混淆
lazy_old($, "wX", "at", function () { lazy_old($, "wX", "at", function () {
// return X.k("vF:G*ee&GC", 12) return X.k("vF:G*ee&GC", 12)
return 32
}) })
lazy_old($, "vF", "a", function () { lazy_old($, "vF", "a", function () {
// return X.k("IIq4zN_QaD", 19) // return X.k("IIq4zN_QaD", 19)
@ -20412,8 +20383,7 @@ var t = (function rtii() {
return 6 return 6
}) })
lazy_old($, "xA", "au", function () { lazy_old($, "xA", "au", function () {
// return X.k("[kT:g-|3XH", 42) return X.k("[kT:g-|3XH", 42)
return 64
}) })
lazy_old($, "w1", "cj", function () { lazy_old($, "w1", "cj", function () {
return X.D("`H)#qK]@HN", 15) return X.D("`H)#qK]@HN", 15)
@ -20744,8 +20714,7 @@ var t = (function rtii() {
return X.D("q;}N|c|3wS", 42) return X.D("q;}N|c|3wS", 42)
}) })
lazy_old($, "x0", "pB", function () { lazy_old($, "x0", "pB", function () {
// return X.D("}2ZxxZec)R", 37) return X.D("}2ZxxZec)R", 37)
return 32
}) })
lazy_old($, "xB", "pS", function () { lazy_old($, "xB", "pS", function () {
return X.D("'%s.<Y.W9R", 36) return X.D("'%s.<Y.W9R", 36)
@ -21678,5 +21647,5 @@ function main() {
} }
main(); main();
logger.debug("反混淆", LangData.get_lang("imin")); logger.debug("反混淆", LangData.get_lang("EYAn"));
// logger.debug("running main:", main()) // 执行main函数 // logger.debug("running main:", main()) // 执行main函数