觉醒修改

wangzhenxing 2023-11-29 15:11:22 +08:00
parent 25553d5476
commit e0678dcb7c
4 changed files with 11 additions and 11 deletions

View File

@ -17,7 +17,7 @@ function LoadingPanel:OnOpen(sp)
local index = 0
this.bg.sprite = sp
math.randomseed(os.time())
index = math.random(1, 18)
index = math.random(1, 16)
this.Tip.text = GetLanguageStrById(tipsConfig[index].Tips)
end
-- 销毁时回收

View File

@ -149,19 +149,19 @@ function RoleFlyUpLayout:UpdateHeroUpStarData()
end
-- local str=""
local flyStr=""
if curHeroData.star==11 then
if curHeroData.star==10 then
--str="r_tongyong_tianfufeishengxiao1"
flyStr="飞升一阶"
elseif curHeroData.star==12 then
elseif curHeroData.star==11 then
--str="r_tongyong_tianfufeishengxiao2"
flyStr="飞升二阶"
elseif curHeroData.star==13 then
elseif curHeroData.star==12 then
-- str="r_tongyong_tianfufeishengxiao3"
flyStr="飞升三阶"
elseif curHeroData.star==14 then
elseif curHeroData.star==13 then
-- str="r_tongyong_tianfufeishengxiao3"
flyStr="飞升四阶"
elseif curHeroData.star==15 then
elseif curHeroData.star==14 then
-- str="r_tongyong_tianfufeishengxiao3"
flyStr="飞升五阶"
else
@ -173,7 +173,7 @@ function RoleFlyUpLayout:UpdateHeroUpStarData()
local str="激活飞升天赋: "
if awaken then
for key, value in pairs(awaken) do
if value[2]==curHeroData.star+14 then
if value[2]==curHeroData.star+15 then
local aaa=ConfigManager.TryGetConfigData(ConfigName.PassiveSkillConfig,value[3])
if aaa then
--this.skillInfoGrid.text="激活飞升天赋:".." "..aaa.Desc

View File

@ -116,11 +116,11 @@ function RoleFlyUpSuccessPanel:OnOpen(...)
this.proImage.sprite =this.spLoader:LoadSprite(GetProStrImageByProNum(curHeroData.changeProId))
local upStar=curHeroData.star+1
local flyImg=""
if upStar==12 then
if upStar==11 then
flyImg="r_tongyong_tianfufeishengxiao1"
elseif upStar==13 then
elseif upStar==12 then
flyImg="r_tongyong_tianfufeishengxiao2"
elseif upStar==14 then
elseif upStar==13 then
flyImg="r_tongyong_tianfufeishengxiao3"
else
flyImg="r_tongyong_tianfufeishengxiao3"

View File

@ -771,7 +771,7 @@ function this:UpdateHeroInfoData()
_CurPageIndex = RoleInfoPanelIndex.qingbao
end
elseif _CurPageIndex == RoleInfoPanelIndex.feiSheng then
if curHeroData.heroConfig.MaxRank <= 11 or curHeroData.star == 16 then
if curHeroData.heroConfig.MaxRank <= 11 or curHeroData.star == 15 then
_CurPageIndex=RoleInfoPanelIndex.qingbao
else
LogError("*********/////////////////222222")