探索引导修改提交
parent
1e1e697ba4
commit
05e078dadc
|
@ -199,15 +199,20 @@ function this:Refresh(_data,_item)
|
|||
if #formation.teamHeroInfos < 1 then
|
||||
|
||||
else
|
||||
if FormationManager.GetFormationPower(_data.formationId) > this.mapData.force then
|
||||
--打开时间弹窗
|
||||
if GuideManager.IsFunctionGuideExist() then
|
||||
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.SelectExploreTime,this.mapData,_data)
|
||||
else
|
||||
MsgPanel.ShowTwo("所选队伍战力小于推荐战力,是否仍要进行探索?", function()end, function()
|
||||
--打开时间弹窗
|
||||
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.SelectExploreTime,this.mapData,_data)
|
||||
end, "取消", "确定", "提示",false,"")
|
||||
end
|
||||
else
|
||||
if FormationManager.GetFormationPower(_data.formationId) > this.mapData.force then
|
||||
--打开时间弹窗
|
||||
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.SelectExploreTime,this.mapData,_data)
|
||||
else
|
||||
MsgPanel.ShowTwo("所选队伍战力小于推荐战力,是否仍要进行探索?", function()end, function()
|
||||
--打开时间弹窗
|
||||
UIManager.OpenPanel(UIName.GeneralPopup,GENERAL_POPUP_TYPE.SelectExploreTime,this.mapData,_data)
|
||||
end, "取消", "确定", "提示",false,"")
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
end)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue