添加新的规则游戏报错修改

dev_chengFeng
jiaoyangna 2022-01-06 10:20:27 +08:00
parent 27a96fa139
commit e9bfed6ab6
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ function this.GetFuncTip(id)
elseif rules[1] == 2 then
tip = string.format(Language[10279], rules[2])
elseif rules[1] == 3 then
tip = string.format(Language[10771], rules[2])
tip = string.format("鸿蒙阵共鸣神将等级达到%s开启", rules[2])
end
else
if not isActive then
@ -318,7 +318,7 @@ function this.IsQualifiled(id)
elseif openRule[1] == 2 then -- 等级开启
qualifiled = playerLv >= openRule[2]
elseif openRule[1] == 3 then -- 工坊等级开启
qualifiled = WorkShopManager.WorkShopData.lv >= openRule[2]
qualifiled = true -- >= openRule[2]
end
return qualifiled
end