parent
5301a91738
commit
2000240f64
|
@ -392,19 +392,29 @@ function RoleInfoLayout:LvUpClick(isSingleLvUp)
|
||||||
if curHeroData.lv == curStarRankUpConfig.OpenLevel then
|
if curHeroData.lv == curStarRankUpConfig.OpenLevel then
|
||||||
_isClicked = false
|
_isClicked = false
|
||||||
_isReqLvUp = false
|
_isReqLvUp = false
|
||||||
local showTipStr = ""
|
local showTipStr = Language[11847]
|
||||||
local showIndex = 2
|
local showIndex = 2
|
||||||
|
local showBtnTipStr = Language[11848]
|
||||||
if curHeroData.star == HeroManager.awakeStarIndex then
|
if curHeroData.star == HeroManager.awakeStarIndex then
|
||||||
showTipStr = "觉醒后可以提升等级上限。是否立即前往觉醒界面?"
|
showTipStr = "觉醒后可以提升等级上限。是否立即前往觉醒界面?"
|
||||||
|
showBtnTipStr = "前往觉醒"
|
||||||
showIndex = 3
|
showIndex = 3
|
||||||
else
|
|
||||||
showTipStr = Language[11847]
|
|
||||||
showIndex = 2
|
|
||||||
end
|
end
|
||||||
|
if showIndex == 3 then
|
||||||
|
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.RoleAwake) then
|
||||||
MsgPanel.ShowTwo(showTipStr, nil, function()
|
MsgPanel.ShowTwo(showTipStr, nil, function()
|
||||||
parent:SetSelectBtn(showIndex)
|
parent:SetSelectBtn(showIndex)
|
||||||
parent:OnPageTabChange(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
|
else
|
||||||
if isUpLvMaterials then
|
if isUpLvMaterials then
|
||||||
if isSingleLvUp then--是否是单次升级
|
if isSingleLvUp then--是否是单次升级
|
||||||
|
|
Loading…
Reference in New Issue