【ID1011391】
飞升鸿蒙阵等级限制调整 (cherry picked from commit 0f69eb822293597556fe825a6b9f99d27b8d8f91)dev_chengFeng
parent
9f2b6a80b5
commit
701938ad27
|
@ -60,6 +60,8 @@ function RoleFlyUpLayout:InitComponent()
|
|||
this.help=Util.GetGameObject(self.gameObject,"upStar/btns/help")
|
||||
|
||||
this.heroSource = Util.GetGameObject(self.gameObject,"upStar/btns/heroSource")
|
||||
|
||||
this.tip = Util.GetGameObject(self.gameObject,"upStar/tip"):GetComponent("Text")
|
||||
end
|
||||
|
||||
--绑定事件(用于子类重写)s
|
||||
|
@ -113,6 +115,18 @@ function RoleFlyUpLayout:SetData(_sortinglayer,_parent,_curHerodata,_isUpZhen,_h
|
|||
isUpZhen = _isUpZhen
|
||||
this:GetCurHeroUpLvOrUpStarSData()
|
||||
this:UpdateHeroUpStarData()--进阶
|
||||
|
||||
if upStarRankUpConfig then
|
||||
LogGreen("AddLv:"..HarmonyManager.GetSingleAdditions(HarmonyAddType.AddLv).." LimitHongmengLevel:"..upStarRankUpConfig.LimitHongmengLevel)
|
||||
if HarmonyManager.GetSingleAdditions(HarmonyAddType.AddLv) >= upStarRankUpConfig.LimitHongmengLevel then -- 鸿蒙阵神将共鸣等级
|
||||
this.upStarBtn.gameObject:SetActive(true)
|
||||
this.tip.gameObject:SetActive(false)
|
||||
else
|
||||
this.upStarBtn.gameObject:SetActive(false)
|
||||
this.tip.gameObject:SetActive(true)
|
||||
this.tip.text = "飞升需求鸿蒙阵等级:"..upStarRankUpConfig.LimitHongmengLevel
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--更新英雄进阶数据
|
||||
|
|
Loading…
Reference in New Issue