角色星级扩展
parent
d99afa9b3e
commit
0543114a36
|
@ -451,7 +451,7 @@ function SetHeroFlyEffect(par,spLoader,_star,_layer,_scale,imgFloor,addY,isList)
|
||||||
local go=img
|
local go=img
|
||||||
if _star>11 then
|
if _star>11 then
|
||||||
if _star>13 then
|
if _star>13 then
|
||||||
go.gameObject:SetActive(true)
|
go.gameObject:SetActive(false)
|
||||||
else
|
else
|
||||||
go.gameObject:SetActive(false)
|
go.gameObject:SetActive(false)
|
||||||
end
|
end
|
||||||
|
@ -545,7 +545,7 @@ function SetHeroFormationFlyEffect(par,spLoader,effect,_star,_layer)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
img=img:GetComponent("Image")
|
img=img:GetComponent("Image")
|
||||||
img.gameObject:SetActive(true)
|
img.gameObject:SetActive(false)
|
||||||
if _star==12 then
|
if _star==12 then
|
||||||
img.sprite=spLoader:LoadSprite("r_tongyong_tianfufeisheng_kapai1")
|
img.sprite=spLoader:LoadSprite("r_tongyong_tianfufeisheng_kapai1")
|
||||||
elseif _star==13 then
|
elseif _star==13 then
|
||||||
|
@ -793,7 +793,7 @@ function SetHeroBg(spLoader, bg,cardBg,star,quality,layer)
|
||||||
bgEffect2:SetActive(false)
|
bgEffect2:SetActive(false)
|
||||||
long:SetActive(false)
|
long:SetActive(false)
|
||||||
if star>13 then
|
if star>13 then
|
||||||
flyImg.gameObject:SetActive(true)
|
flyImg.gameObject:SetActive(false)
|
||||||
if star==14 then
|
if star==14 then
|
||||||
shan:SetActive(true)
|
shan:SetActive(true)
|
||||||
flyImg:GetComponent("Image").sprite=spLoader:LoadSprite("r_tongyong_tianfufeisheng_kapai1")
|
flyImg:GetComponent("Image").sprite=spLoader:LoadSprite("r_tongyong_tianfufeisheng_kapai1")
|
||||||
|
|
|
@ -102,9 +102,9 @@ function this:OnOpen(...)
|
||||||
end
|
end
|
||||||
if curSkillData.needStar and curSkillData.needStar~=1 then
|
if curSkillData.needStar and curSkillData.needStar~=1 then
|
||||||
LogError("urSkillData.needStar=="..curSkillData.needStar)
|
LogError("urSkillData.needStar=="..curSkillData.needStar)
|
||||||
if curSkillData.needStar==13 then
|
if curSkillData.needStar==16 then
|
||||||
--this.hintTxt.text=" ".."飞升3解锁"
|
--this.hintTxt.text=" ".."飞升3解锁"
|
||||||
des1="<color=red>".."飞升2解锁".."</color>".."\n"..des1
|
des1="<color=red>".."飞升5解锁".."</color>".."\n"..des1
|
||||||
else
|
else
|
||||||
--this.hintTxt.text=" "..
|
--this.hintTxt.text=" "..
|
||||||
des1="<color=red>"..NumToSimplenessFont[curSkillData.needStar].."星解锁\n".."</color>"..des1
|
des1="<color=red>"..NumToSimplenessFont[curSkillData.needStar].."星解锁\n".."</color>"..des1
|
||||||
|
|
|
@ -157,6 +157,12 @@ function RoleFlyUpLayout:UpdateHeroUpStarData()
|
||||||
elseif curHeroData.star==13 then
|
elseif curHeroData.star==13 then
|
||||||
str="r_tongyong_tianfufeishengxiao3"
|
str="r_tongyong_tianfufeishengxiao3"
|
||||||
flyStr="飞升三阶"
|
flyStr="飞升三阶"
|
||||||
|
elseif curHeroData.star==14 then
|
||||||
|
str="r_tongyong_tianfufeishengxiao3"
|
||||||
|
flyStr="飞升四阶"
|
||||||
|
elseif curHeroData.star==15 then
|
||||||
|
str="r_tongyong_tianfufeishengxiao3"
|
||||||
|
flyStr="飞升五阶"
|
||||||
else
|
else
|
||||||
str="r_hero_tianfu2_zh"
|
str="r_hero_tianfu2_zh"
|
||||||
end
|
end
|
||||||
|
|
|
@ -372,8 +372,8 @@ function this.SkillInfo()
|
||||||
sText.fontSize = GetCurLanguage() ~= 2 and 30 or 25
|
sText.fontSize = GetCurLanguage() ~= 2 and 30 or 25
|
||||||
Util.SetGray(go,skillList[i].isOpen)
|
Util.SetGray(go,skillList[i].isOpen)
|
||||||
if skillList[i].isOpen then
|
if skillList[i].isOpen then
|
||||||
if skillList[i].needStar==13 then
|
if skillList[i].needStar==16 then
|
||||||
sText.text="飞升2解锁"
|
sText.text="飞升5解锁"
|
||||||
else
|
else
|
||||||
sText.text=NumToSimplenessFont[skillList[i].needStar].."星解锁"
|
sText.text=NumToSimplenessFont[skillList[i].needStar].."星解锁"
|
||||||
end
|
end
|
||||||
|
|
|
@ -578,7 +578,7 @@ function this:UpdateBtnList()
|
||||||
end
|
end
|
||||||
elseif k == RoleInfoPanelIndex.feiSheng then
|
elseif k == RoleInfoPanelIndex.feiSheng then
|
||||||
local isopen=ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.FlyUp)
|
local isopen=ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.FlyUp)
|
||||||
if curHeroData.heroConfig.MaxRank >11 and curHeroData.star>=11 and curHeroData.star < 14 then
|
if curHeroData.heroConfig.MaxRank >11 and curHeroData.star>=11 and curHeroData.star < 16 then
|
||||||
tabsList[k].gameObject:SetActive(true)
|
tabsList[k].gameObject:SetActive(true)
|
||||||
else
|
else
|
||||||
tabsList[k].gameObject:SetActive(false)
|
tabsList[k].gameObject:SetActive(false)
|
||||||
|
|
Loading…
Reference in New Issue