屏蔽英雄觉醒显示

onepiece_demo_arena
wangzhenxing 2023-10-27 17:09:16 +08:00
parent b31c93e68b
commit dd9444c745
4 changed files with 12 additions and 12 deletions

View File

@ -2425,7 +2425,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 485, y: 169}
m_AnchoredPosition: {x: 485, y: 72.17002}
m_SizeDelta: {x: 492.4, y: 85}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &5570695162331111546
@ -3585,7 +3585,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 505.39, y: 78.83}
m_AnchoredPosition: {x: 505.39, y: 73}
m_SizeDelta: {x: 372.19, y: 63.12}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4942687059910894160
@ -8258,7 +8258,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 515, y: 189}
m_AnchoredPosition: {x: 515, y: 209}
m_SizeDelta: {x: 767.9, y: 193.8}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &4399086366224887718
@ -9531,7 +9531,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 543, y: 69.02}
m_AnchoredPosition: {x: 543, y: 69.020004}
m_SizeDelta: {x: 603.1, y: 560.98}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &5536753334827709089

View File

@ -45,7 +45,7 @@ this.heroResolveLicence = {}
--this.specialProVal = {}--减乘
this.awakeStarIndex = 10-- 前端写死觉醒星级标志
this.awakeNextStarIndex = 20-- 前端写死觉醒星级标志
this.awakeNextStarIndex = 11-- 前端写死觉醒星级标志
--存储英雄身上对应的星级
local curAllStarBreakIdData = {
-- [1] = {[40]= 24},

View File

@ -58,7 +58,7 @@ function this:OnOpen(...)
local dividend = args[3] and args[3] or 10
local maxLv=1--args[4]
local skilltype =args[5]
nextCfg=args[6]
nextCfg=nil --args[6]
local soulLv=args[7]
local isFaBao = args[8]
if openType == 1 then

View File

@ -590,17 +590,17 @@ function this:UpdateBtnList()
tabsList[k].gameObject:SetActive(false)
end
elseif k == RoleInfoPanelIndex.jinjie then
if curHeroData.star < 10 then
if curHeroData.star < 11 then
tabsList[k].gameObject:SetActive(true)
else
tabsList[k].gameObject:SetActive(false)
end
elseif k == RoleInfoPanelIndex.juexing then
if curHeroData.star == 10 and curHeroData.heroConfig.MaxRank > curHeroData.star then
tabsList[k].gameObject:SetActive(true)
else
tabsList[k].gameObject:SetActive(false)
end
-- if curHeroData.star == 10 and curHeroData.heroConfig.MaxRank > curHeroData.star then
-- tabsList[k].gameObject:SetActive(true)
-- else
-- tabsList[k].gameObject:SetActive(false)
-- end
elseif k == RoleInfoPanelIndex.shenhun then
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.shenhun)
and curHeroData.heroConfig.IsSoulOpen == 1 and curHeroData.star > 10 then