【角色升星】修复角色达到最大星级依然可以跳转觉醒、进阶页签的问题
parent
eed381315d
commit
ee4a465c41
|
@ -448,6 +448,10 @@ function RoleInfoLayout:LvUpClick(isSingleLvUp)
|
||||||
if isHeroUpStar and upStarRankUpConfig and curTuPoRankUpConfig and curTuPoRankUpConfig.JudgeClass==1 and curHeroData.lv >= curTuPoRankUpConfig.OpenLevel then--当前突破全部完成
|
if isHeroUpStar and upStarRankUpConfig and curTuPoRankUpConfig and curTuPoRankUpConfig.JudgeClass==1 and curHeroData.lv >= curTuPoRankUpConfig.OpenLevel then--当前突破全部完成
|
||||||
if curStarRankUpConfig then--进阶过处理
|
if curStarRankUpConfig then--进阶过处理
|
||||||
if curHeroData.lv == curStarRankUpConfig.OpenLevel then
|
if curHeroData.lv == curStarRankUpConfig.OpenLevel then
|
||||||
|
if curHeroData.star >= curHeroData.heroConfig.MaxRank then
|
||||||
|
MsgPanel.ShowOne("当前神将已达最大星级")
|
||||||
|
return
|
||||||
|
end
|
||||||
_isClicked = false
|
_isClicked = false
|
||||||
_isReqLvUp = false
|
_isReqLvUp = false
|
||||||
local showTipStr = Language[11808]
|
local showTipStr = Language[11808]
|
||||||
|
|
Loading…
Reference in New Issue