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