探索引导修改提交

dev_chengFeng
jiaoyangna 2022-01-12 15:27:35 +08:00
parent 1e1e697ba4
commit 05e078dadc
1 changed files with 13 additions and 8 deletions

View File

@ -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