修行对应颜色名字修改
parent
5b88556d9a
commit
a4e6d63433
|
@ -323,9 +323,14 @@ function this.SetNameColor(name,level)
|
|||
level = 1
|
||||
end
|
||||
local clr = ""
|
||||
clr = XiuXianConfig[level].NameFontColor
|
||||
-- LogYellow("name:"..tostring(name).." clr:"..tostring(clr))
|
||||
return "<color=#"..clr..">"..name.."</color>"
|
||||
if XiuXianConfig[level] then
|
||||
clr = XiuXianConfig[level].NameFontColor
|
||||
-- LogYellow("name:"..tostring(name).." clr:"..tostring(clr))
|
||||
return "<color=#"..clr..">"..name.."</color>"
|
||||
else
|
||||
return ""
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
--获取大境界对应的段位名称
|
||||
|
@ -495,6 +500,9 @@ end
|
|||
|
||||
function this.SetPracticeIcon(obj,level)
|
||||
local spLoader = SpriteLoader.New()
|
||||
if XiuXianConfig[level]==nil then
|
||||
return
|
||||
end
|
||||
local BigLevel = XiuXianConfig[level].RealmId
|
||||
if BigLevel%3==0 then
|
||||
BigLevel=BigLevel/3
|
||||
|
|
Loading…
Reference in New Issue