【觉醒】 图鉴未开觉醒功能点进去报错修复提交
parent
26e7460699
commit
2955a067fa
|
@ -389,12 +389,13 @@ function HandBookHeroInfoPanel:SetSelectBtn(_btn, btnText)
|
||||||
end
|
end
|
||||||
|
|
||||||
function HandBookHeroInfoPanel:UpdateLiveList()
|
function HandBookHeroInfoPanel:UpdateLiveList()
|
||||||
|
local starIndex = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.RoleAwake) and 11 or 10
|
||||||
if index - 1 > 0 then
|
if index - 1 > 0 then
|
||||||
_leftStar = _curStar
|
_leftStar = _curStar
|
||||||
leftIndex = index - 1
|
leftIndex = index - 1
|
||||||
leftHeroData=heroDatas[leftIndex]
|
leftHeroData=heroDatas[leftIndex]
|
||||||
else
|
else
|
||||||
if _curStar==11 then
|
if _curStar==starIndex then
|
||||||
_leftStar = 1
|
_leftStar = 1
|
||||||
elseif _curStar==6 then
|
elseif _curStar==6 then
|
||||||
_leftStar = 10
|
_leftStar = 10
|
||||||
|
@ -413,7 +414,7 @@ function HandBookHeroInfoPanel:UpdateLiveList()
|
||||||
if _curStar==10 then
|
if _curStar==10 then
|
||||||
_rightStar = 6
|
_rightStar = 6
|
||||||
elseif _curStar==1 then
|
elseif _curStar==1 then
|
||||||
_rightStar = 11
|
_rightStar = starIndex
|
||||||
else
|
else
|
||||||
_rightStar = _curStar - 1
|
_rightStar = _curStar - 1
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue