【心魔试炼】

dev_chengFeng
zhangqiang 2021-07-12 16:35:54 +08:00
parent 58b2c30ea9
commit 90b577bc16
1 changed files with 5 additions and 4 deletions

View File

@ -14,6 +14,7 @@ local buyTimes = 0
local storeDataId = 0
local callBack
local screenwidth
local isClick = false
-- local redTrailType = {
-- [1] = RedPointType.PersonTrailHelp,
-- [2] = RedPointType.BuddishTrailHelp,
@ -143,7 +144,6 @@ function MonsterCampNewPanel:BindEvent()
end
--快速战斗
local isClick = false
function this.QuickStartMonsterFightRequest()
if isClick then
return
@ -168,13 +168,13 @@ function this.QuickStartMonsterFightRequest()
isClick = false
else
Timer.New(function ()
isClick = false
end,1):Start()
MonsterCampManager.monsterWave = MonsterCampManager.monsterWave + 1
UIManager.OpenPanel(UIName.BattleWinPopup, nil, false, BATTLE_TYPE.MONSTER_CAMP, result, true, true,function()
-- UIManager.OpenPanel(UIName.RewardItemPopup,msg.enventDrop,1,function()
this.OnShowPanel()--刷新界面
Timer.New(function ()
isClick = false
end,0.5):Start()
-- end)
end)
end
@ -206,6 +206,7 @@ end
--界面打开时调用(用于子类重写)
function MonsterCampNewPanel:OnOpen()
this.UpView:OnOpen({showType = UpViewOpenType.ShowLeft, panelType = PanelType.MonsterCamp })
isClick = false
end
--界面打开时调用(用于子类重写)