【解锁提示】添加解锁条件显示
parent
e580889f3f
commit
7d02fd5394
|
|
@ -668,11 +668,11 @@ function this.GetCurLevelTips()
|
|||
LogError(id)
|
||||
if config.Type == 1 then
|
||||
if this.CarbonIdCompare(this.GetCurFightId(), config.Parameter) < 0 then
|
||||
return config.Desc
|
||||
return string.format("通关%s,%s", mainLevelConfig[config.Parameter].Name, config.Desc)
|
||||
end
|
||||
elseif config.Type == 2 then
|
||||
if PlayerManager.level < config.Parameter then
|
||||
return config.Desc
|
||||
return string.format("等级达%s,%s", config.Parameter, config.Desc)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue