【解锁提示】添加解锁条件显示

gaoxin 2021-12-27 09:58:34 +08:00
parent e580889f3f
commit 7d02fd5394
1 changed files with 2 additions and 2 deletions

View File

@ -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