删除log

dev_chengFeng
jiaoyangna 2021-12-20 22:00:12 +08:00
parent 522913c7bf
commit e2eada47d1
1 changed files with 10 additions and 10 deletions

View File

@ -295,7 +295,7 @@ function this.CheckFightOpenRule(fightId)
if PlayerManager.level < mainLevelConfig[this.curOpenFight].LevelLimit then
local tip = tostring(mainLevelConfig[this.curOpenFight].LevelLimit .. Language[10056])
LogRed(tip .. " 当前:"..PlayerManager.level)
--LogRed(tip .. " 当前:"..PlayerManager.level)
return false, tip, tip
end
@ -307,7 +307,7 @@ function this.CheckFightOpenRule(fightId)
for index, rule in ipairs(openRule) do
states[index] = true
if not rule[1] or rule[1] == 0 then
LogRed("当前没有限制条件1")
--LogRed("当前没有限制条件1")
states[index] = true
elseif rule[1] == 1 then
local star = FightLevelManager.GetAllChapterStars()
@ -315,7 +315,7 @@ function this.CheckFightOpenRule(fightId)
states[index] = false
tips[index] = string.format("山河社稷图星数达%s", rule[2])-- 山河社稷图%s星
btnTxts[index] = string.format("山河社稷图%s星", rule[2])
LogRed(tips[index]..", 当前:"..star)
--LogRed(tips[index]..", 当前:"..star)
end
elseif rule[1] == 2 then
local wave = MonsterCampManager.GetMonsterCampCurWave()
@ -323,7 +323,7 @@ function this.CheckFightOpenRule(fightId)
states[index] = false
tips[index] = string.format("心魔试炼通关%s层", rule[2])-- 心魔试炼通关999层
btnTxts[index] = string.format("心魔试炼通关%s层", rule[2])
LogRed(tips[index]..", 当前:"..wave)
--LogRed(tips[index]..", 当前:"..wave)
end
elseif rule[1] == 3 then
local lv = HarmonyManager.GetSingleAdditions(HarmonyAddType.AddLv)
@ -331,7 +331,7 @@ function this.CheckFightOpenRule(fightId)
states[index] = false
tips[index] = string.format("鸿蒙阵共鸣等级达%s", rule[2])-- 鸿蒙阵共鸣%s级
btnTxts[index] = string.format("鸿蒙阵共鸣%s级", rule[2])
LogRed(tips[index]..", 当前:"..lv)
--LogRed(tips[index]..", 当前:"..lv)
end
elseif rule[1] == 4 then
-- 指定星级(运算星级)装备数量(初始可用)
@ -341,7 +341,7 @@ function this.CheckFightOpenRule(fightId)
states[index] = false
tips[index] = string.format("拥有%s个%s%s星装备", rule[3], QualityNameDef[equipStarConfig.Quality], equipStarConfig.Stars)
btnTxts[index] = string.format("%s个%s%s星装备", rule[3], QualityNameDef[equipStarConfig.Quality], equipStarConfig.Stars)
LogRed(tips[index]..", 当前:"..num)
--LogRed(tips[index]..", 当前:"..num)
end
elseif rule[1] == 5 then
local _, tlv, _ = LikabilityManager.GetTotalHeroLikeLv(-1)
@ -349,7 +349,7 @@ function this.CheckFightOpenRule(fightId)
states[index] = false
tips[index] = string.format("神将总好感度等级达%s", rule[2]) -- 总好感度%s级
btnTxts[index] = string.format("总好感度%s级", rule[2])
LogRed(tips[index]..", 当前:"..tlv)
--LogRed(tips[index]..", 当前:"..tlv)
end
elseif rule[1] == 6 then
-- 逍遥游通关次数
@ -358,7 +358,7 @@ function this.CheckFightOpenRule(fightId)
states[index] = false
tips[index] = string.format("逍遥游通关%s次", rule[2])
btnTxts[index] = string.format("逍遥游通关%s次", rule[2])
LogRed(tips[index]..", 当前:"..xyPassTimes)
--LogRed(tips[index]..", 当前:"..xyPassTimes)
end
elseif rule[1] == 7 then
local c_lv = rule[2]
@ -368,7 +368,7 @@ function this.CheckFightOpenRule(fightId)
states[index] = false
tips[index] = string.format("拥有%s个等级%s以上的神将", c_num, c_lv)-- %s个%s级神将
btnTxts[index] = string.format("%s个%s级神将", c_num, c_lv)
LogRed(tips[index]..", 当前:"..num)
--LogRed(tips[index]..", 当前:"..num)
end
end
end
@ -394,7 +394,7 @@ function this.CheckFightOpenRule(fightId)
end
return isOk, tip.."解锁", btnTxt, states
end
LogRed("当前没有限制条件2")
--LogRed("当前没有限制条件2")
return true
end