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