【觉醒】 提示文字

dev_chengFeng hotfix/xma/local/1.1.32
zhangqiang 2020-11-16 14:57:46 +08:00
parent 5301a91738
commit 2000240f64
1 changed files with 18 additions and 8 deletions

View File

@ -392,19 +392,29 @@ function RoleInfoLayout:LvUpClick(isSingleLvUp)
if curHeroData.lv == curStarRankUpConfig.OpenLevel then
_isClicked = false
_isReqLvUp = false
local showTipStr = ""
local showTipStr = Language[11847]
local showIndex = 2
local showBtnTipStr = Language[11848]
if curHeroData.star == HeroManager.awakeStarIndex then
showTipStr = "觉醒后可以提升等级上限。是否立即前往觉醒界面?"
showBtnTipStr = "前往觉醒"
showIndex = 3
else
showTipStr = Language[11847]
showIndex = 2
end
if showIndex == 3 then
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.RoleAwake) then
MsgPanel.ShowTwo(showTipStr, nil, function()
parent:SetSelectBtn(showIndex)
parent:OnPageTabChange(showIndex)
end,Language[10719],Language[11848])
end,Language[10719],showBtnTipStr)
else
PopupTipPanel.ShowTip("需要先进行觉醒!")
end
else
MsgPanel.ShowTwo(showTipStr, nil, function()
parent:SetSelectBtn(showIndex)
parent:OnPageTabChange(showIndex)
end,Language[10719],showBtnTipStr)
end
else
if isUpLvMaterials then
if isSingleLvUp then--是否是单次升级