diff --git a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua index 635ce8413c..acf7f8d74e 100644 --- a/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/MonsterCamp/MonsterCampNewPanel.lua @@ -92,22 +92,22 @@ function MonsterCampNewPanel:BindEvent() end,2) end) Util.AddClick(this.moppingUpBtn, function () - local _storeDataId,_itemId,_costNum,moppingUpNum = MonsterCampManager.MonsterCampGetYJGMCost() - MsgPanel.ShowTwo(string.format("是否花费%s进行一键扫荡?",_costNum,itemConfig[itemId].Name),function() end,function() - if BagManager.GetItemCountById(_itemId) < _costNum then - PopupTipPanel.ShowTip(string.format(Language[10298], itemConfig[itemId].Name)) - else - ShopManager.RequestBuyShopItem(SHOP_TYPE.FUNCTION_SHOP,storeDataId,moppingUpNum,function() - PrivilegeManager.RefreshPrivilegeUsedTimes(PRIVILEGE_TYPE.MONSTERCAMP_BUY_BATTLENUM, moppingUpNum) - NetManager.SweepDemonRequest(MonsterCampManager.monsterWave - 1,true,function(msg) - UIManager.OpenPanel(UIName.RewardItemPopup,msg.Drop,1,function() - PrivilegeManager.RefreshPrivilegeUsedTimes(PRIVILEGE_TYPE.MONSTERCAMP_BATTLENUM, MonsterCampManager.GetCanBattleCount() ) - this.UpdatePrivilage() - end) - end) - end) - end - end,"取消","确定") + -- local _storeDataId,_itemId,_costNum,moppingUpNum = MonsterCampManager.MonsterCampGetYJGMCost() + -- MsgPanel.ShowTwo(string.format("是否花费%s进行一键扫荡?",_costNum,itemConfig[itemId].Name),function() end,function() + -- if BagManager.GetItemCountById(_itemId) < _costNum then + -- PopupTipPanel.ShowTip(string.format(Language[10298], itemConfig[itemId].Name)) + -- else + -- ShopManager.RequestBuyShopItem(SHOP_TYPE.FUNCTION_SHOP,storeDataId,moppingUpNum,function() + -- PrivilegeManager.RefreshPrivilegeUsedTimes(PRIVILEGE_TYPE.MONSTERCAMP_BUY_BATTLENUM, moppingUpNum) + -- NetManager.SweepDemonRequest(MonsterCampManager.monsterWave - 1,true,function(msg) + -- UIManager.OpenPanel(UIName.RewardItemPopup,msg.Drop,1,function() + -- PrivilegeManager.RefreshPrivilegeUsedTimes(PRIVILEGE_TYPE.MONSTERCAMP_BATTLENUM, MonsterCampManager.GetCanBattleCount() ) + -- this.UpdatePrivilage() + -- end) + -- end) + -- end) + -- end + -- end,"取消","确定") end) BindRedPointObject(RedPointType.EpicExplore,Util.GetGameObject(this.btnHelpFight, "redPoint")) end