头像框通用方法修改

dev_chengFeng
jiaoyangna 2020-07-25 20:02:24 +08:00
parent d8fa2b9459
commit 48ff5b8b28
1 changed files with 4 additions and 4 deletions

View File

@ -682,7 +682,9 @@ end
--通过item稀有度读取背景框
function GetQuantityImageByquality(quality)
if quality == 1 then
if star and star > 5 then
return "r_characterbg_gules"
elseif quality == 1 then
return "r_characterbg_gray"
elseif quality == 2 then
return "r_characterbg_green"
@ -704,9 +706,7 @@ end
--通过item稀有度读取背景框
function GetQuantityImageByqualityPoint(quality,star)
if star and star > 5 then
return "r_characterbg_gules"
elseif quality == 1 then
if quality == 1 then
return "r_hunyin_zise"
elseif quality == 2 then
return "r_hunyin_zise"