//Sat Jul 12 2025 04:00:31 GMT+0000 (Coordinated Universal Time)
//Base:https://github.com/echo094/decode-js
//Modify:https://github.com/smallfawn/decode_action
var peishirukou = function (_0x9e3181) {
function _0x353191(_0xa1e70e, _0x1c3215) {
var _0x1c6630 = _0x9e3181.call(this, _0xa1e70e, _0x1c3215) || this;
_0x1c6630.showMessage = [UserZs.ins().postZsData];
_0x1c6630.updateMessage = [KFBattleRedPoint.ins().postRedPoint, DevildomRedPoint.ins().postRedPoint, KfArenaRedPoint.ins().postRedPoint];
return _0x1c6630;
}
__extends(_0x353191, _0x9e3181);
_0x353191.prototype.checkShowIcon = function () {
{
var _0x23c4af = KFBossSys.ins().isOpen();
return _0x23c4af;
}
};
_0x353191.prototype.checkShowRedPoint = function () {
{
return KFBattleRedPoint.ins().redPoint || DevildomRedPoint.ins().redPoint || KfArenaRedPoint.ins().redpoint;
}
};
_0x353191.prototype.tapExecute = function () {
ViewManager.ins().open(juesepeishizbyewanchupin);
};
return _0x353191;
}(RuleIconBase);
__reflect(peishirukou.prototype, "peishirukou");
var juesepeishizbyewanchupin = function (_0x501ee6) {
function _0x260abc() {
{
var _0x5d5f56 = _0x501ee6.call(this) || this;
_0x5d5f56.roleIndex = 0;
_0x5d5f56.oldIndex = 0;
_0x5d5f56.roleSelectVis = true;
_0x5d5f56.skinName = "juesepeishiskin";
_0x5d5f56.isTopLevel = true;
_0x5d5f56.addExclusionWin(egret.getQualifiedClassName(SmeltEquipTotalWin));
return _0x5d5f56;
}
}
__extends(_0x260abc, _0x501ee6);
_0x260abc.prototype.initUI = function () {};
_0x260abc.prototype.open = function () {
{
this.addTouchEvent(this.closeBtn, this.onClick);
_0x501ee6[0] ? this.oldIndex = this.tab.selectedIndex = this.viewStack.selectedIndex = _0x501ee6[0] : this.oldIndex = this.tab.selectedIndex = this.viewStack.selectedIndex = 0;
this.addTouchEvent(this, this.onClick);
this.addChangingEvent(this.tab, this.checkIsOpen);
this.setOpenIndex(0);
}
};
_0x260abc.prototype.close = function () {
for (var _0x10dc05 = [], _0xbe9fd3 = 0; _0xbe9fd3 < arguments.length; _0xbe9fd3++) {
_0x10dc05[_0xbe9fd3] = arguments[_0xbe9fd3];
}
var _0x47baa4 = ViewManager.ins().getView(UIView2);
if (_0x47baa4) {
{
_0x47baa4.closeNav(UIView2.NAV_ROLE);
}
}
for (var _0x3ecd2f = this.viewStack.numChildren, _0x412f59 = 0; _0x3ecd2f > _0x412f59; _0x412f59++) {
this.viewStack.getChildAt(_0x412f59) instanceof eui.Group || this.viewStack.getChildAt(_0x412f59).close();
}
};
_0x260abc.prototype.checkIsOpen = function (_0x292458) {
this.setOpenIndex(this.tab.selectedIndex);
this.viewStack.selectedIndex = this.tab.selectedIndex;
this.viewStack.getElementAt(this.oldIndex).close();
};
_0x260abc.prototype.setOpenIndex = function (_0x2e030b) {
if (this.oldIndex && 1 == this.oldIndex && this.oldIndex != _0x2e030b && this.getWingPanelInfo()) {
this.doOpenHintWin(1, this.tab.selectedIndex);
return void (this.tab.selectedIndex = this.oldIndex);
}
switch (_0x2e030b) {
case 0:
this.XuemaiPanel.open();
break;
case 1:
this.HunhuanEquipPanel.open();
}
};
_0x260abc.prototype.onClick = function (_0x11c716) {
{
switch (_0x11c716.target) {
case this.closeBtn:
case this.closeBtn0:
ViewManager.ins().close(this);
}
}
};
return _0x260abc;
}(BaseEuiView);
__reflect(juesepeishizbyewanchupin.prototype, "juesepeishizbyewanchupin");
ViewManager.ins().reg(juesepeishizbyewanchupin, LayerManager.UI_Main);
var XuemaiPanel = function (_0x28f9a3) {
function _0x13dbbb() {
{
var _0x2d0098 = _0x28f9a3.call(this) || this;
_0x2d0098._cost = 0;
_0x2d0098.isTopLevel = true;
_0x2d0098.skinName = "Xuemaiskin";
return _0x2d0098;
}
}
__extends(_0x13dbbb, _0x28f9a3);
_0x13dbbb.prototype.init = function () {};
_0x13dbbb.prototype.open = function () {
{
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.getpassInfo);
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.onlikes);
this.addTouchEvent(this.item1, this.onlikes);
this.addTouchEvent(this.item2, this.onlikes);
this.addTouchEvent(this.item3, this.onlikes);
this.addTouchEvent(this.item4, this.onlikes);
this.addTouchEvent(this.item5, this.onlikes);
this.addTouchEvent(this.item6, this.onlikes);
this.addTouchEvent(this.item7, this.onlikes);
this.addTouchEvent(this.upGradeBtn, this.closeMenu);
this._curRole = 0;
this._indexid = 0;
this.edata();
}
};
_0x13dbbb.prototype.close = function (_0x51b6cf) {};
_0x13dbbb.prototype.sonChange = function (_0x2c17b3) {
this._curRole = this.roleSelect.getCurRole();
this.edata();
};
_0x13dbbb.prototype.Bsdate = function () {
{
this.curRole = this.roleSelect.getCurRole();
var _0x33df57 = Dress.ins();
this.listInfo = [];
for (var _0x146c64 in ConfgMgr.hatzgnyijhsjconfig) if (SubRoles.ins().getSubRoleByIndex(this.curRole).job == ConfgMgr.hatzgnyijhsjconfig[_0x146c64].juesezhiye) {
var _0x23960b = new DressItemInfo();
var _0x2b2370 = ConfgMgr.hatzgnyijhsjconfig[_0x146c64];
var _0x107523 = _0x2b2370.id;
if (_0x33df57.timeInfo[_0x107523]) {
{
_0x23960b.lv = _0x33df57.timeInfo[_0x107523].lv;
}
} else {
_0x23960b.lv = 0;
}
_0x23960b.id = _0x107523;
_0x23960b.job = _0x2b2370.juesezhiye;
this.listInfo.push(_0x23960b);
}
return this.listInfo;
}
};
_0x13dbbb.prototype.getpassInfo = function () {};
_0x13dbbb.prototype.edata = function (_0x325aa1) {
{
var _0x4eb31f = this.Bsdate();
var _0x31755c = 0;
var _0x2eec29 = ConfgMgr.Xuemaiupconfig;
for (x = 0; x < _0x4eb31f.length; x++) {
{
var _0x55c65b = _0x4eb31f[x].lv;
this["xuemaiMC" + x] || (this["xuemaiMC" + x] = new MovieClip(), this["xuemaiMC" + x].scaleX = this["xuemaiMC" + x].scaleY = 1, this["xuemaiMC" + x].x = -60, this["xuemaiMC" + x].y = -55);
this["xuemaiMC" + x].playFile(RES_DIR_EFF + "kuangbao" + x, -1);
this["item" + x].equip.parent.addChild(this["xuemaiMC" + x]);
if (_0x55c65b < 1) {
{
this["xuemaiMC" + x].filters = [FilterUtil.grayFilter];
}
} else {
this["xuemaiMC" + x].filters = null;
}
this["item" + x].redPoint.visible = 0;
this["item" + x].isSelected.visible = 0;
if (x == this._indexid) {
var _0x12678a = ["|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω剑|", "|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω甲|", "|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω盔|", "|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω链|", "|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω镯|", "|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω带|", "|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω戒|", "|C:0x53FF53&T:卍█卧龙出世█卐冰霜定乾坤Ω靴|"];
this.xmlv.textFlow = TextFlowMaker.generateTextFlow1(_0x12678a[x] + "|C:0xB766AD&T: Lv: " + _0x55c65b + "|");
this["item" + x].isSelected.visible = 1;
var _0x4721dc = _0x2eec29[x + 1][_0x55c65b];
var _0x46cdd7 = _0x2eec29[x + 1][_0x55c65b + 1];
this.attr0.text = this.getattrlv(_0x4721dc.attr);
var _0x31755c = parseInt(_0x31755c) + UserBag.getAttrPower(AttributeData.transformAttr(_0x2eec29[x + 1][_0x55c65b].attr));
if (_0x46cdd7) {
{
this.addAttr0.text = this.getattrlv(_0x46cdd7.attr);
this.addAttr0.visible = 1;
this.upGradeBtn.visible = this.costGroup.visible = 1;
this.nexmanlv.visible = 0;
this._lv = _0x55c65b;
this._item = _0x46cdd7.itemid;
this._count = _0x46cdd7.count;
this._num = UserBag.ins().getBagGoodsCountById(0, this._item);
this.icon.source = ConfgMgr.ItemConfig[this._item].icon + "_png";
this.countLabel.text = ConfgMgr.ItemConfig[this._item].name + "(" + this._num + "/" + this._count + ")";
this._openid = _0x4eb31f[x].id;
_0x55c65b < 1 ? this.upGradeBtn.label = "激 活" : this.upGradeBtn.label = "进 阶";
this._num < this._count ? this.countLabel.textColor = "0xf58220" : this.countLabel.textColor = "0xff0012";
}
} else {
this.upGradeBtn.visible = this.costGroup.visible = this.addAttr0.visible = 0;
this.nexmanlv.visible = 1;
}
this.powerPanel.setPower(_0x31755c);
}
}
}
}
};
_0x13dbbb.prototype.getattrlv = function (_0x35686f) {
{
var _0x365f8f = AttributeData.getAttStr(AttributeData.transformAttr(_0x35686f), 0, 1, ":");
return _0x365f8f;
}
};
_0x13dbbb.prototype.getattrnexlv = function (_0x9088a0, _0x505e51) {
{
var _0x18e5e7 = 0;
if (_0x9088a0[_0x18e5e7].type == _0x505e51[_0x18e5e7].type && _0x9088a0[_0x18e5e7].value != _0x505e51[_0x18e5e7].value) {
{
var _0x4ea98c = _0x9088a0[_0x18e5e7].value;
var _0x35cd82 = _0x505e51[_0x18e5e7].value;
var _0x1ada9c = _0x35cd82 - _0x4ea98c;
var _0xbe48e1 = _0x9088a0[_0x18e5e7].type;
var _0x299b6d = this.Getattrsuanshu(_0x1ada9c, _0xbe48e1);
return _0x299b6d;
}
} else {
{
return 0;
}
}
}
};
_0x13dbbb.prototype.Getattrsuanshu = function (_0x4d7f7f, _0x4b660d) {
if (_0x4b660d == 11) {
var _0x545791 = _0x4d7f7f / 100 + "%";
} else {
if (_0x4b660d == 12) {
var _0x1ef1e5 = _0x4d7f7f / 100;
var _0x545791 = _0x1ef1e5.toFixed(1) + "%";
} else {
{
var _0x545791 = _0x4d7f7f;
}
}
}
return _0x545791;
};
_0x13dbbb.prototype.getattrnewnum = function (_0x2bef96) {};
_0x13dbbb.prototype.closeMenu = function (_0x1aec17) {
if (this._num < this._count) {
return void UserTips.ins().showTips("|C:0xFFFF00&T: 物品道具不足!!!!!!|");
}
this._lv < 1 ? Dress.ins().JiezhikongjianUserReq(this._openid, 5) : Dress.ins().JiezhikongjianLevelUp(this._openid);
};
_0x13dbbb.prototype.getBaolv = function (_0x138aef) {
{
var _0x11bbcd = this.Bsdate();
var _0x7d4d22 = _0x11bbcd[_0x138aef].lv;
return _0x7d4d22;
}
};
_0x13dbbb.prototype.onlikes = function (_0x14b872) {
{
SoundManager.ins().playEffect(SoundUtil.WINDOW);
switch (_0x14b872.currentTarget) {
case this.item0:
this._indexid = 0;
this.edata();
break;
case this.item1:
this._indexid = 1;
this.edata();
break;
case this.item2:
this._indexid = 2;
this.edata();
break;
case this.item3:
this._indexid = 3;
this.edata();
break;
case this.item6:
this._indexid = 6;
this.edata();
break;
case this.item7:
this._indexid = 7;
this.edata();
break;
case this.item4:
this._indexid = 4;
this.edata();
break;
case this.item5:
this._indexid = 5;
this.edata();
}
}
};
_0x13dbbb.prototype.closeMenus = function (_0x51f84e) {
ViewManager.ins().close(this);
SoundManager.ins().playEffect(SoundUtil.WINDOW);
};
return _0x13dbbb;
}(BaseView);
__reflect(XuemaiPanel.prototype, "XuemaiPanel");
var HunhuanEquipPanel = function (_0x4b1bed) {
function _0x1d475b() {
{
var _0x2bd99d = _0x4b1bed.call(this) || this;
_0x2bd99d._cost = 0;
_0x2bd99d.isTopLevel = true;
_0x2bd99d.skinName = "HunhuanEquipSkin";
return _0x2bd99d;
}
}
__extends(_0x1d475b, _0x4b1bed);
_0x1d475b.prototype.init = function () {};
_0x1d475b.prototype.open = function () {
this.ringEff || (this.ringEff = new MovieClip());
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.observe(GameLogic.ins().postSubRoleChange, this.getpassInfo);
this.addTouchEvent(this.item0, this.onlikes);
this.addTouchEvent(this.item1, this.onlikes);
this.addTouchEvent(this.item2, this.onlikes);
this.addTouchEvent(this.item3, this.onlikes);
this.addTouchEvent(this.item4, this.onlikes);
this.addTouchEvent(this.item5, this.onlikes);
this.addTouchEvent(this.upGradeBtn, this.closeMenu);
this._curRole = 0;
this._indexid = 0;
this.edata();
};
_0x1d475b.prototype.close = function (_0x4a2fb0) {};
_0x1d475b.prototype.sonChange = function (_0x49374f) {
this._curRole = this.roleSelect.getCurRole();
this.edata();
};
_0x1d475b.prototype.Bsdate = function () {
this.curRole = this.roleSelect.getCurRole();
var _0x402a45 = Dress.ins();
this.listInfo = [];
for (var _0x51dc8d in ConfgMgr.miaoshazbsjjhconfig) if (SubRoles.ins().getSubRoleByIndex(this.curRole).job == ConfgMgr.miaoshazbsjjhconfig[_0x51dc8d].sanzhiyepdrole) {
var _0x13303c = new DressItemInfo();
var _0x3faf4e = ConfgMgr.miaoshazbsjjhconfig[_0x51dc8d];
var _0x189ddf = _0x3faf4e.id;
if (_0x402a45.timeInfo[_0x189ddf]) {
{
_0x13303c.lv = _0x402a45.timeInfo[_0x189ddf].lv;
}
} else {
_0x13303c.lv = 0;
}
_0x13303c.id = _0x189ddf;
_0x13303c.job = _0x3faf4e.sanzhiyepdrole;
this.listInfo.push(_0x13303c);
}
return this.listInfo;
};
_0x1d475b.prototype.getpassInfo = function () {};
_0x1d475b.prototype.openeff = function (_0x53e6b9) {
{
this.removeMc(this.ringEff);
this.ringEff.scaleX = this.ringEff.scaleY = 1.2;
this.ringEff.x = 50;
this.ringEff.y = -150;
this.HHEff.parent && this.HHEff.parent.addChild(this.ringEff);
this.ringEff.playFile(RES_DIR_EFF + "hunhuans00" + (_0x53e6b9 + 1), -1);
}
};
_0x1d475b.prototype.removeMc = function (_0x50e1f4) {
_0x50e1f4 && (_0x50e1f4.dispose(), DisplayUtils.removeFromParent(_0x50e1f4));
};
_0x1d475b.prototype.edata = function (_0x44a4b8) {
var _0x547dfa = this.Bsdate();
var _0x3c2928 = 0;
var _0xb412d8 = ConfgMgr.Hunhuanupconfig;
for (x = 0; x < _0x547dfa.length; x++) {
{
this._delv = _0x547dfa[x].lv;
this._deid = _0x547dfa[x].id;
var _0x268a91 = _0x547dfa[x].lv;
this["item" + x].Icon.source = "hunhuan_n" + [x + 1] + "_png";
this["item" + x].level.text = "\n\n\n\nLv: " + _0x268a91;
this["item" + x].isSelected.visible = 0;
if (x == this._indexid) {
this["item" + x].isSelected.visible = 1;
var _0x1c0733 = _0xb412d8[x + 1][_0x268a91];
var _0x28db4c = _0xb412d8[x + 1][_0x268a91 + 1];
var _0x3c2928 = parseInt(_0x3c2928) + UserBag.getAttrPower(AttributeData.transformAttr(_0xb412d8[x + 1][_0x268a91].attr));
this.attr0.text = this.getattrlv(_0x1c0733.attr);
if (_0x28db4c) {
this.addAttr0.text = this.getattrlv(_0x28db4c.attr);
this.addAttr0.visible = 1;
this.upGradeBtn.visible = this.costGroup.visible = 1;
this.nexmanlv.visible = 0;
this._lv = _0x268a91;
this._item = _0x28db4c.itemid;
this._count = _0x28db4c.count;
this._num = UserBag.ins().getBagGoodsCountById(0, this._item);
this.icon.source = ConfgMgr.ItemConfig[this._item].icon + "_png";
this.countLabel.text = ConfgMgr.ItemConfig[this._item].name + "(" + this._num + "/" + this._count + ")";
this._openid = _0x547dfa[x].id;
_0x268a91 < 1 ? this.upGradeBtn.label = "激 活" : this.upGradeBtn.label = "升 级";
this._num < this._count ? this.countLabel.textColor = "0xd1c28f" : this.countLabel.textColor = "0xff0012";
} else {
this.upGradeBtn.visible = this.costGroup.visible = this.addAttr0.visible = 0;
this.nexmanlv.visible = 1;
}
this.openeff(x);
this.powerPanel.setPower(_0x3c2928);
}
}
}
};
_0x1d475b.prototype.getattrlv = function (_0x39858e) {
{
var _0x3e0cdf = AttributeData.getAttStr(AttributeData.transformAttr(_0x39858e), 0, 1, ": ");
return _0x3e0cdf;
}
};
_0x1d475b.prototype.getattrnexlv = function (_0x5b3cfe, _0x4458b3) {
var _0x552601 = 0;
if (_0x5b3cfe[_0x552601].type == _0x4458b3[_0x552601].type && _0x5b3cfe[_0x552601].value != _0x4458b3[_0x552601].value) {
var _0x475de2 = _0x5b3cfe[_0x552601].value;
var _0x11dc8f = _0x4458b3[_0x552601].value;
var _0x314c04 = _0x11dc8f - _0x475de2;
var _0x2afa98 = _0x5b3cfe[_0x552601].type;
var _0x13d2af = this.Getattrsuanshu(_0x314c04, _0x2afa98);
return _0x13d2af;
} else {
return 0;
}
};
_0x1d475b.prototype.Getattrsuanshu = function (_0x144e5, _0x1cdafb) {
if (_0x1cdafb == 7) {
var _0x192dba = _0x144e5 / 100 + "%";
} else {
if (_0x1cdafb == 20) {
var _0x1fbd04 = _0x144e5 / 100;
var _0x192dba = _0x1fbd04.toFixed(1) + "%";
} else {
var _0x192dba = _0x144e5;
}
}
return _0x192dba;
};
_0x1d475b.prototype.getattrnewnum = function (_0x13dd78) {};
_0x1d475b.prototype.closeMenu = function (_0x3f5721) {
if (this._num < this._count) {
return void UserTips.ins().showTips("|C:0xFFFF00&T: 物品道具不足|");
}
this._lv < 1 ? Dress.ins().JiezhikongjianUserReq(this._openid, 5) : Dress.ins().JiezhikongjianLevelUp(this._openid);
};
_0x1d475b.prototype.getBaolv = function (_0x953188) {
var _0x1c23af = this.Bsdate();
var _0x184837 = _0x1c23af[_0x953188].lv;
return _0x184837;
};
_0x1d475b.prototype.onlikes = function (_0x1bfa60) {
{
SoundManager.ins().playEffect(SoundUtil.WINDOW);
switch (_0x1bfa60.currentTarget) {
case this.item0:
this._indexid = 0;
this.edata();
break;
case this.item1:
this._indexid = 1;
this.edata();
break;
case this.item2:
this._indexid = 2;
this.edata();
break;
case this.item3:
this._indexid = 3;
this.edata();
break;
case this.item4:
this._indexid = 4;
this.edata();
break;
case this.item5:
this._indexid = 5;
this.edata();
}
}
};
_0x1d475b.prototype.closeMenus = function (_0x2f7fb3) {
ViewManager.ins().close(this);
SoundManager.ins().playEffect(SoundUtil.WINDOW);
};
return _0x1d475b;
}(BaseView);
__reflect(HunhuanEquipPanel.prototype, "HunhuanEquipPanel");
var rrVVVsoushouIconRule = function (_0x179ca7) {
function _0x404818(_0x30bc69, _0x1967af) {
var _0x2e4cca = _0x179ca7.call(this, _0x30bc69, _0x1967af) || this;
_0x2e4cca.showMessage = [UserZs.ins().postZsData];
_0x2e4cca.updateMessage = [KFBattleRedPoint.ins().postRedPoint, DevildomRedPoint.ins().postRedPoint, KfArenaRedPoint.ins().postRedPoint];
return _0x2e4cca;
}
__extends(_0x404818, _0x179ca7);
_0x404818.prototype.checkShowIcon = function () {
return 1;
};
_0x404818.prototype.checkShowRedPoint = function () {
{
return 0;
}
};
_0x404818.prototype.getEffName = function (_0x4bad9c) {
this.effX = 38;
this.effY = 38;
return "actIconCircle";
};
_0x404818.prototype.tapExecute = function () {
ViewManager.ins().open(SuperVipWin7);
};
return _0x404818;
}(RuleIconBase);
__reflect(rrVVVsoushouIconRule.prototype, "rrVVVsoushouIconRule");
var SuperVipWin7 = function (_0x33d317) {
function _0x331da2() {
return _0x33d317.call(this) || this;
}
__extends(_0x331da2, _0x33d317);
_0x331da2.prototype.initUI = function () {
_0x33d317.prototype.initUI.call(this);
this.skinName = "\r\n\r\n\t\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\r\n\t\t\r\n\r\n\r\n\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\r\n\t\t\t\r\n\r\n\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\r\n\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\r\n\r\n\r\n\t\r\n";
this.list && (this.list.itemRenderer = ItemBase);
var _0x476a32 = ["gaore", "default"];
this.validateNow();
};
_0x331da2.prototype.open = function () {
this.addTouchEvent(this.closeBtn, this.onTap);
this.addTouchEvent(this.bgClose, this.onTap);
this.pey && this.addTouchEvent(this.pey, this.onTap);
this.copy && this.addTouchEvent(this.copy, this.onTap);
this.checkBoxAutoOpen && this.addTouchEvent(this.checkBoxAutoOpen, this.onCheckBoxAutoOpen);
this.observe(UserVip.ins().postSuperVipInfo, this.initView);
UserVip.ins().sendGetSuperVipInfo();
this.initView();
};
_0x331da2.prototype.initView = function () {
var _0x563f86 = ConfgMgr.meinvkefuconfig;
this.qqtxt.text = ["lycq123888"];
this.headImg.source = _0x563f86.icon;
this.kficons.source = _0x563f86.kficon;
this.copy.label = _0x563f86.desc6;
this.kfnamenel.text = _0x563f86.desc8;
this.tag.text = _0x563f86.desc7;
this.tips1.text = _0x563f86.desc5;
this.tps1.text = _0x563f86.desc1[0];
this.tps2.text = _0x563f86.desc2[0];
this.tps3.text = _0x563f86.desc3[0];
this.tps4.text = _0x563f86.desc4[0];
this.des0.text = _0x563f86.desc1[1];
this.des1.text = _0x563f86.desc2[1];
this.des2.text = _0x563f86.desc3[1];
this.des3.text = _0x563f86.desc4[1];
};
_0x331da2.prototype.updateAward = function () {
if (this.list) {
var _0x176f6a = LocationProperty.superVipAward;
if (_0x176f6a) {
{
var _0x1c5ee1 = _0x176f6a.split(/[:;]/);
var _0x324926 = [];
if (_0x1c5ee1.length > 1) {
for (var _0x59621f = 0; _0x59621f < _0x1c5ee1.length; _0x59621f += 2) {
var _0x4813c2 = new RewardData();
_0x4813c2.id = +_0x1c5ee1[_0x59621f];
_0x4813c2.type = ConfgMgr.ItemConfig[_0x4813c2.id] ? 1 : 0;
_0x4813c2.count = +_0x1c5ee1[_0x59621f + 1] || 1;
_0x324926.push(_0x4813c2);
}
}
this.list.dataProvider = new eui.ArrayCollection(_0x324926);
}
} else {
this.list.dataProvider = new eui.ArrayCollection();
}
}
};
_0x331da2.prototype.onTap = function (_0x461bc9) {
{
var _0x2ccd22 = _0x461bc9.currentTarget;
switch (_0x2ccd22) {
case this.closeBtn:
case this.bgClose:
ViewManager.ins().close(this);
break;
case this.pey:
Recharge.ins().showRechargeType(RechargeShowType.TYPE2);
ViewManager.ins().close(this);
break;
case this.copy:
if (PfActivity.ins().copyMsgToBoard(this.qqtxt.text)) {
UserTips.ins().showCenterTips("复制成功");
return true;
}
window.prompt && (DeviceUtils.IsMobile ? window.prompt("请长按链接复制微信号:", this.qqtxt.text) : window.prompt("请复制微信号:", this.qqtxt.text));
}
}
};
_0x331da2.prototype.onCheckBoxAutoOpen = function () {
{
Setting.ins().setBitValue(ClientSetBit.superVipIsAutoOpen, this.checkBoxAutoOpen.selected ? 1 : 0);
}
};
return _0x331da2;
}(BaseEuiView);
__reflect(SuperVipWin7.prototype, "SuperVipWin7");
ViewManager.ins().reg(SuperVipWin7, LayerManager.UI_Popup);
var puijinBossWin = function (_0x2c73a8) {
function _0x28d6cd() {
{
var _0xf4c4a4 = _0x2c73a8.call(this) || this;
_0xf4c4a4.floorArr = [];
_0xf4c4a4.isTopLevel = true;
_0xf4c4a4.skinName = "\n\r\n\n\t\n\t\n\t\n\t\t\n\t\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\r\n\t\n\t\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\r\n\t\t\n\t\t\n\t\r\n\t\t\r\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\t\r\n\t\r\n\t\r\n\t\t\r\n\n";
return _0xf4c4a4;
}
}
__extends(_0x28d6cd, _0x2c73a8);
_0x28d6cd.prototype.initUI = function () {
{
this.bossImage = new MovieClip();
this.bossImage.scaleX = -1;
this.bossImage.scaleY = 1;
this.bossImage.x = 78;
this.bossImage.y = 220;
this.bossGroup.touchEnabled = this.bossGroup.touchChildren = false;
for (var _0xaf62ee in ConfgMgr.puijinnuberconfig) this.floorArr.push(_0xaf62ee);
this.listFloorData = new eui.ArrayCollection();
this.listItem.itemRenderer = ItemBase;
this.listBoss.itemRenderer = KFAnDianBossItem;
this.listBossData = new eui.ArrayCollection();
this.listBoss.dataProvider = this.listBossData;
}
};
_0x28d6cd.prototype.open = function () {
for (var _0x37fca6 = [], _0x5c44f8 = 0; _0x5c44f8 < arguments.length; _0x5c44f8++) {
_0x37fca6[_0x5c44f8] = arguments[_0x5c44f8];
}
KFBossSys.ins().sendADBossInfo();
this.bossGroup.addChild(this.bossImage);
this.listBoss.addEventListener(eui.ItemTapEvent.ITEM_TAP, this.onClickBoss, this);
this.addTouchEvent(this.seeRule, this.onGetItem);
this.addTouchEvent(this.challengeBtn, this.onGetItem);
this.addTouchEvent(this.closeBtn, this.closeMenu);
this.observe(KFBossSys.ins().postADAttributionInfo, this.setBossInfo);
this.observe(KFBossSys.ins().postADRedPoint, this.setData);
this.observe(KFBossSys.ins().postADBossRefTime, this.setData);
this.bosmc();
this.setData();
};
_0x28d6cd.prototype.closeMenu = function (_0x23f443) {
ViewManager.ins().close(this);
};
_0x28d6cd.prototype.bosmc = function () {
this.siwangmc3.visible = false;
};
_0x28d6cd.prototype.onClickMenu = function (_0x24b9b9) {
this.setData();
};
_0x28d6cd.prototype.onClickBoss = function (_0x4257f0) {
this.currData = this.listBoss.dataProvider.getItemAt(_0x4257f0.itemIndex);
this.setBossInfo();
};
_0x28d6cd.prototype.setData = function () {
{
var _0x298c40 = this.listBoss.parent;
_0x298c40.stopAnimation();
this.listBoss.scrollV = 0;
var _0x2f7109 = KFBossSys.ins().ADBossInfo;
var _0x3163e5 = [];
var _0x59d6cd = [];
var _0x166d7f = [];
var _0x1b08d8 = [];
var _0x1a433d = [];
var _0x4bc8a8 = [];
1000 * UserZs.ins().lv + Actor.level;
var _0xe0c4ab = 64;
var _0x27076c = ConfgMgr.puijinnuberconfig[_0xe0c4ab];
var _0x660c7b = _0x27076c.bossId;
for (var _0x29ac4d in _0x2f7109) if (-1 != _0x660c7b.indexOf(_0x2f7109[_0x29ac4d].id)) {
var _0x5126d7 = _0x2f7109[_0x29ac4d].time - egret.getTimer() >> 0 > 0;
var _0x54e5fa = KFBossSys.ins().getLingLiBossOpen(_0x2f7109[_0x29ac4d].id);
if (_0x54e5fa) {
_0x2f7109[_0x29ac4d].id;
var _0x478eee = KFBossSys.ins().getBossRemindByIndex(_0x2f7109[_0x29ac4d].id);
_0x478eee ? _0x5126d7 ? _0x166d7f.push(_0x2f7109[_0x29ac4d]) : _0x59d6cd.push(_0x2f7109[_0x29ac4d]) : _0x5126d7 ? _0x1a433d.push(_0x2f7109[_0x29ac4d]) : _0x1b08d8.push(_0x2f7109[_0x29ac4d]);
} else {
_0x4bc8a8.push(_0x2f7109[_0x29ac4d]);
}
}
_0x59d6cd.sort(this.compareFn);
_0x166d7f.sort(this.compareFn);
_0x1b08d8.sort(this.compareFn);
_0x1a433d.sort(this.compareFn);
_0x4bc8a8.sort(this.compareFn);
_0x3163e5 = _0x59d6cd.concat(_0x166d7f, _0x1b08d8, _0x1a433d, _0x4bc8a8);
this.listBossData.replaceAll(_0x3163e5);
this.listFloorData.replaceAll(this.floorArr);
this.listBoss.selectedIndex = 0;
this.currData = this.listBoss.dataProvider.getItemAt(0);
this.setBossInfo();
}
};
_0x28d6cd.prototype.bosstimes = function () {
var _0x39423a = this.currData.time - egret.getTimer();
var _0x54c56c = DateUtils.getFormatBySecond(Math.floor(_0x39423a / 1000), 1);
if (_0x39423a > 0) {
{
this.countdown.text = _0x54c56c + " 后刷新";
this.countdown.visible = true;
}
} else {
this.countdown.text = "";
this.countdown.visible = false;
}
};
_0x28d6cd.prototype.setBossInfo = function () {
if (this.currData) {
{
var _0x1fdd07 = ConfgMgr.DarkHallBossConfig[this.currData.id];
this.listItem.dataProvider = new eui.ArrayCollection(_0x1fdd07.belongRewardshow);
var _0x18edca = ConfgMgr.MonstersConfig[_0x1fdd07.bossId];
this.bossName.text = _0x18edca.name + "(" + _0x1fdd07.zsLevel + "转)";
this.RemainCount.textFlow = TextFlowMaker.generateTextFlow1("剩余BOSS归属次数: |C:447235&T:" + KFBossSys.ins().PJBossCount + "| 次");
var _0x2c4809 = this.currData.time - egret.getTimer() >> 0;
_0x2c4809 > 0 ? this.stateImage.source = "zdbossyijisha" : 0 >= _0x2c4809 ? this.stateImage.source = "zdbosskejisha" : this.stateImage.source = "";
this.bossImage.playFile(RES_DIR_MONSTER + ("monster" + _0x18edca.avatar + "_4s"), -1);
var _0x2fb57a = KFBossSys.ins().getLingLiBossOpen(this.currData.id);
var _0x45a0b4 = this.currData.time - egret.getTimer();
if (_0x45a0b4 > 0) {
var _0x3f082c = DateUtils.getFormatBySecond(Math.floor(_0x45a0b4 / 1000), 1);
this.countdown.text = _0x3f082c + " 后刷新";
this.countdown.visible = true;
this.bosstimes();
} else {
this.countdown.text = "";
this.countdown.visible = false;
}
this.challengeBtn.visible = _0x2fb57a;
this.isChallenge.visible = !_0x2fb57a;
this.stateImage.visible = _0x2fb57a;
}
}
};
_0x28d6cd.prototype.onGetItem = function (_0x59e135) {
switch (_0x59e135.currentTarget) {
case this.seeRule:
ViewManager.ins().open(CommonHelpWin, ConfgMgr.HelpInfoConfig[65535].text);
break;
case this.challengeBtn:
if (1 > KFBossSys.ins().PJBossCount) {
void WarnWin.show("次数不足,请使用挑战卷", function () {
{
return void UserTips.ins().showTips("确定");
}
}, this);
return SoundManager.ins().playEffect("cishubuzubgm");
}
d = (KFBossSys.ins().ADBossEnterCD - egret.getTimer()) / 1000 >> 0;
if (0 < d) {
void UserTips.ins().showTips("|C:0xf3311e&T:" + d + "秒后可以进入!");
return SoundManager.ins().playEffect("cddaojishibgm");
}
if (0 < this.currData.time - egret.getTimer() >> 0) {
void UserTips.ins().showTips("|C:0xf3311e&T:BOSS未复活,不可挑战!");
return SoundManager.ins().playEffect("bossweifuhuobgm");
}
this.currData && KFBossSys.ins().sendEnterADFb(this.currData.id);
}
};
_0x28d6cd.prototype.compareFn = function (_0x5ce4e6, _0x43ad6d) {
var _0x3ee489 = ConfgMgr.DarkHallBossConfig[_0x5ce4e6.id];
var _0x165efe = ConfgMgr.DarkHallBossConfig[_0x43ad6d.id];
return _0x3ee489.zsLevel < _0x165efe.zsLevel ? 1 : _0x3ee489.zsLevel > _0x165efe.zsLevel ? -1 : _0x3ee489.level < _0x165efe.level ? 1 : _0x3ee489.level > _0x165efe.level ? -1 : 0;
};
_0x28d6cd.prototype.close = function () {
{
for (var _0x300ecc = [], _0x991db6 = 0; _0x991db6 < arguments.length; _0x991db6++) {
_0x300ecc[_0x991db6] = arguments[_0x991db6];
}
}
};
return _0x28d6cd;
}(BaseEuiView);
__reflect(puijinBossWin.prototype, "puijinBossWin");
ViewManager.ins().reg(puijinBossWin, LayerManager.UI_Main);
var piwangsdBossWin = function (_0x15a452) {
function _0x19184a() {
var _0x20ac42 = _0x15a452.call(this) || this;
_0x20ac42.floorArr = [];
_0x20ac42.isTopLevel = true;
_0x20ac42.skinName = "\n\r\n\n\t\n\t\n\t\n\t\t\n\t\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\t\n\t\t\n\t\n\t\r\n\t\r\n\t\r\n\t\r\n\n\t\n\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\n\t\r\n\t\t\n\t\t\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\n\t\t\r\n\t\r\n\t\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\n\t\t\r\n\t\r\n\t\t\r\n\n";
return _0x20ac42;
}
__extends(_0x19184a, _0x15a452);
_0x19184a.prototype.initUI = function () {
this.bossImage = new MovieClip();
this.bossImage.scaleX = -1;
this.bossImage.scaleY = 1;
this.bossImage.x = 78;
this.bossImage.y = 165;
this.bossGroup.touchEnabled = this.bossGroup.touchChildren = false;
for (var _0x16ceb9 in ConfgMgr.piwangbossnuberconfig) this.floorArr.push(_0x16ceb9);
this.listFloorData = new eui.ArrayCollection();
this.listItem.itemRenderer = ItemBase;
this.listBoss.itemRenderer = KFAnDianBossItem;
this.listBossData = new eui.ArrayCollection();
this.listBoss.dataProvider = this.listBossData;
};
_0x19184a.prototype.open = function () {
{
for (var _0x435821 = [], _0x364295 = 0; _0x364295 < arguments.length; _0x364295++) {
_0x435821[_0x364295] = arguments[_0x364295];
}
KFBossSys.ins().sendADBossInfo();
this.bossGroup.addChild(this.bossImage);
this.listBoss.addEventListener(eui.ItemTapEvent.ITEM_TAP, this.onClickBoss, this);
this.addTouchEvent(this.seeRule, this.onGetItem);
this.addTouchEvent(this.challengeBtn, this.onGetItem);
this.addTouchEvent(this.closeBtn, this.closeMenu);
this.observe(KFBossSys.ins().postADAttributionInfo, this.setBossInfo);
this.observe(KFBossSys.ins().postADRedPoint, this.setData);
this.observe(KFBossSys.ins().postADBossRefTime, this.setData);
this.isDie ? this.playDieEff(-1) : this.bossmacs();
this.setData();
}
};
_0x19184a.prototype.closeMenu = function (_0x441479) {
ViewManager.ins().close(this);
};
_0x19184a.prototype.onClickMenu = function (_0x5c6987) {
this.setData();
};
_0x19184a.prototype.onClickBoss = function (_0x1df1f8) {
this.currData = this.listBoss.dataProvider.getItemAt(_0x1df1f8.itemIndex);
this.setBossInfo();
};
_0x19184a.prototype.setData = function () {
var _0x5d8dad = this.listBoss.parent;
_0x5d8dad.stopAnimation();
this.listBoss.scrollV = 0;
var _0x1fc6bf = KFBossSys.ins().ADBossInfo;
var _0x522fdd = [];
var _0x34d023 = [];
var _0x4cc2c5 = [];
var _0x32f44c = [];
var _0x2220c3 = [];
var _0xaed96c = [];
1000 * UserZs.ins().lv + Actor.level;
var _0x195e72 = 65;
var _0x50591c = ConfgMgr.piwangbossnuberconfig[_0x195e72];
var _0x2a970d = _0x50591c.bossId;
for (var _0x45da31 in _0x1fc6bf) if (-1 != _0x2a970d.indexOf(_0x1fc6bf[_0x45da31].id)) {
var _0x514e4a = _0x1fc6bf[_0x45da31].time - egret.getTimer() >> 0 > 0;
var _0xd9615a = KFBossSys.ins().getLingLiBossOpen(_0x1fc6bf[_0x45da31].id);
if (_0xd9615a) {
{
_0x1fc6bf[_0x45da31].id;
var _0x2560ca = KFBossSys.ins().getBossRemindByIndex(_0x1fc6bf[_0x45da31].id);
_0x2560ca ? _0x514e4a ? _0x4cc2c5.push(_0x1fc6bf[_0x45da31]) : _0x34d023.push(_0x1fc6bf[_0x45da31]) : _0x514e4a ? _0x2220c3.push(_0x1fc6bf[_0x45da31]) : _0x32f44c.push(_0x1fc6bf[_0x45da31]);
}
} else {
_0xaed96c.push(_0x1fc6bf[_0x45da31]);
}
}
_0x34d023.sort(this.compareFn);
_0x4cc2c5.sort(this.compareFn);
_0x32f44c.sort(this.compareFn);
_0x2220c3.sort(this.compareFn);
_0xaed96c.sort(this.compareFn);
_0x522fdd = _0x34d023.concat(_0x4cc2c5, _0x32f44c, _0x2220c3, _0xaed96c);
this.listBossData.replaceAll(_0x522fdd);
this.listFloorData.replaceAll(this.floorArr);
this.listBoss.selectedIndex = 0;
this.currData = this.listBoss.dataProvider.getItemAt(0);
this.setBossInfo();
};
_0x19184a.prototype.swsditem = function (_0x180ca1) {
var _0x579db5 = ConfgMgr.DarkHallBossConfig[_0x180ca1];
var _0x4903bb = _0x579db5.belongRewardshow;
for (y = 0; y < _0x4903bb.length; y++) {
this["itemReward" + y].data = _0x4903bb[y];
}
};
_0x19184a.prototype.bossmacs = function () {
this.kfBossMc || (this.kfBossMc = new MovieClip(), this.kfBossMc.scaleX = this.kfBossMc.scaleY = 0.45, this.kfBossMc.x = 0, this.kfBossMc.y = 35);
this.siwangmc1.boossGroup.addChild(this.kfBossMc);
this.kfBossMc.playFile(RES_DIR_EFF + "dtxstx02", -1);
this.kfBossMc1 || (this.kfBossMc1 = new MovieClip(), this.kfBossMc1.scaleX = this.kfBossMc1.scaleY = 0.45, this.kfBossMc1.x = 0, this.kfBossMc1.y = 35);
this.siwangmc2.boossGroup.addChild(this.kfBossMc1);
this.kfBossMc1.playFile(RES_DIR_EFF + "dtxstx02", -1);
};
_0x19184a.prototype.setBossInfo = function () {
if (this.currData) {
var _0x344efa = this.currData.id;
var _0x17d7a7 = ConfgMgr.DarkHallBossConfig[_0x344efa];
this.listItem.dataProvider = new eui.ArrayCollection(_0x17d7a7.belongRewardshow);
var _0x9395a6 = ConfgMgr.MonstersConfig[_0x17d7a7.bossId];
this.bossName.text = _0x9395a6.name + "(" + _0x17d7a7.zsLevel + "转)";
this.RemainCount.textFlow = TextFlowMaker.generateTextFlow1("剩余归属次数:|C:447235&T:" + KFBossSys.ins().PWBossCount + "|次");
var _0x29b9de = this.currData.time - egret.getTimer() >> 0;
_0x29b9de > 0 ? this.stateImage.source = "zdbossyijisha" : 0 >= _0x29b9de ? this.stateImage.source = "zdbosskejisha" : this.stateImage.source = "";
this.bossImage.playFile(RES_DIR_MONSTER + ("monster" + _0x9395a6.avatar + "_3s"), -1);
var _0x3ee788 = KFBossSys.ins().getLingLiBossOpen(this.currData.id);
var _0x1579c7 = this.currData.time - egret.getTimer();
if (_0x1579c7 > 0) {
{
var _0x45a738 = DateUtils.getFormatBySecond(Math.floor(_0x1579c7 / 1000), 1);
this.countdown.text = _0x45a738 + " 后刷新";
this.countdown.visible = true;
this.bosstimes();
}
} else {
this.countdown.text = "";
this.countdown.visible = false;
}
this.challengeBtn.visible = _0x3ee788;
this.isChallenge.visible = !_0x3ee788;
this.stateImage.visible = _0x3ee788;
this.swsditem(_0x344efa);
this.bossmacs();
}
};
_0x19184a.prototype.bosstimes = function () {
{
var _0x2253e0 = this.currData.time - egret.getTimer();
var _0x2a0422 = DateUtils.getFormatBySecond(Math.floor(_0x2253e0 / 1000), 1);
if (_0x2253e0 > 0) {
{
this.countdown.text = _0x2a0422 + " 后刷新";
this.countdown.visible = true;
}
} else {
{
this.countdown.text = "";
this.countdown.visible = false;
}
}
}
};
_0x19184a.prototype.onGetItem = function (_0x3fe99b) {
{
switch (_0x3fe99b.currentTarget) {
case this.seeRule:
ViewManager.ins().open(CommonHelpWin, ConfgMgr.HelpInfoConfig[65535].text);
break;
case this.challengeBtn:
d = KFBossSys.ins().PWBossCount;
KFBossSys.ins();
if (1 > d) {
return void WarnWin.show("挑战次数不足", function () {
{
return void UserTips.ins().showTips("确定");
}
}, this);
}
d = (KFBossSys.ins().ADBossEnterCD - egret.getTimer()) / 1000 >> 0;
if (0 < d) {
return void UserTips.ins().showTips("|C:0xf3311e&T:" + d + "秒后可以进入!");
}
if (0 < this.currData.time - egret.getTimer() >> 0) {
return void UserTips.ins().showTips("|C:0xf3311e&T:BOSS未复活,不可挑战!");
}
this.currData && KFBossSys.ins().sendEnterADFb(this.currData.id);
}
}
};
_0x19184a.prototype.compareFn = function (_0x2c9ace, _0xebb4d5) {
{
var _0x20685c = ConfgMgr.DarkHallBossConfig[_0x2c9ace.id];
var _0x3ae0b3 = ConfgMgr.DarkHallBossConfig[_0xebb4d5.id];
return _0x20685c.zsLevel < _0x3ae0b3.zsLevel ? 1 : _0x20685c.zsLevel > _0x3ae0b3.zsLevel ? -1 : _0x20685c.level < _0x3ae0b3.level ? 1 : _0x20685c.level > _0x3ae0b3.level ? -1 : 0;
}
};
_0x19184a.prototype.close = function () {
for (var _0x19eadb = [], _0x42b7b9 = 0; _0x42b7b9 < arguments.length; _0x42b7b9++) {
_0x19eadb[_0x42b7b9] = arguments[_0x42b7b9];
}
};
return _0x19184a;
}(BaseEuiView);
__reflect(piwangsdBossWin.prototype, "piwangsdBossWin");
ViewManager.ins().reg(piwangsdBossWin, LayerManager.UI_Main);