TCX_dev_zeroFive_online
DESKTOP-RH64908\Administrator 2025-05-20 16:25:48 +08:00
parent 87a20839d6
commit c7c703c53c
2 changed files with 19 additions and 1 deletions

View File

@ -125,6 +125,7 @@ GetHeroCardStarImage = {
[1] = "r_tongyong_duiwudi",
[2] = "r_tongyong_duiwudihong",
[3] = "r_tongyong_duiwudizhuanshi",
[4] = "r_tongyong_duiwudi",
}
GetHeroStarImage = {
@ -191,7 +192,7 @@ GetBattleHeroCardStarBg = {
[13] = "t_zhandoukuang_zhuangshi",
[14] = "t_zhandoukuang_zhuangshi",
[15] = "t_zhandoukuang_zhuangshi",
[16] = "t_zhandoukuang_zhuangshi",
[16] = "t_biandui_shenwang",
[17] = "t_zhandoukuang_zhuangshi",
}
@ -3485,6 +3486,7 @@ RoleInfoPanelIndex = {
chuanshuo = 5,
pifu = 6,
feiSheng = 2,
shenjiang = 8
}
GodSoulProfession = {
@ -3525,6 +3527,7 @@ GetIncarnationDiImage = {
[5] = "s_swhs_pinzhidi_03",
[6] = "s_swhs_pinzhidi_04",
[7] = "s_swhs_pinzhidi_02",
[8] = "s_swhs_pinzhidi_02",
}
GetIncarnationNameColor = {
@ -3535,6 +3538,7 @@ GetIncarnationNameColor = {
[5] = "BB6F1E",
[6] = "B63939",
[7] = "96FFEF",
[8] = "96FFEF",
}
--Hero大卡背景
@ -3546,4 +3550,5 @@ GetIncarnationHeroCardStarBg = {
[5] = "t_chengyuankuang_huang",
[6] = "t_chengyuankuang_hong",
[7] = "t_chengyuankuang_zhaunshi",
[8] = "t_chengyuankuang_shenwang",
}

View File

@ -818,6 +818,15 @@ function SetHeroBg(spLoader, bg,cardBg,star,quality,layer)
if bai then
bai.gameObject:SetActive(false)
end
elseif star == 16 then
bg:GetComponent("Image").sprite = spLoader:LoadSprite(GetHeroCardStarImage[4])
cardBg:GetComponent("Image").sprite = spLoader:LoadSprite(GetHeroCardQuantityImage[star])
if hong then
hong.gameObject:SetActive(false)
end
if bai then
bai.gameObject:SetActive(false)
end
else
bg:GetComponent("Image").sprite = spLoader:LoadSprite(GetHeroCardStarImage[3])
cardBg:GetComponent("Image").sprite = spLoader:LoadSprite(GetHeroCardQuantityImage[star])
@ -1487,6 +1496,8 @@ function GetHeroQualityStr(_i,star)
return "r_hero_pinzhi_chuanshuo"
elseif _i==7 then
return "r_hero_pinzhi_shenhua"
elseif _i==8 then
return "r_hero_pinzhi_shenwang"
end
end
@ -2654,6 +2665,8 @@ function GetHeroHandBookNaturalImg(lv)
str="r_hero_tujian_chuanshuo"
elseif lv==7 then
str="r_hero_tujian_shenhua"
elseif lv==8 then
str="r_hero_tujian_shenwang"
end
return str
end