关卡解锁跳转添加提交

dev_chengFeng
jiaoyangna 2021-12-20 15:43:54 +08:00
parent 5ab2f2f40a
commit b841b77467
2 changed files with 19 additions and 3 deletions

View File

@ -1108,6 +1108,24 @@ function this.RefreshBattleUpLvTip(isShowUIOpen)
JumpManager.GoJump(1011)
end)
elseif ruleType == 4 then
-- 背包 装备
this.battleUpLvTip:SetActive(true)
this.battleUpLvTipImg.enabled = false
this.battleUpLvTipTxt.gameObject:SetActive(false)
this.battleLockGo:SetActive(true)
Util.AddOnceClick(this.battleUpLvTip, function()
JumpManager.GoJump(1007)
end)
elseif ruleType == 5 then
-- 好感度
this.battleUpLvTip:SetActive(true)
this.battleUpLvTipImg.enabled = false
this.battleUpLvTipTxt.gameObject:SetActive(false)
this.battleLockGo:SetActive(true)
Util.AddOnceClick(this.battleUpLvTip, function()
JumpManager.GoJump(40033)
end)
elseif ruleType == 7 then
-- 获取神将
this.battleUpLvTip:SetActive(true)
this.battleUpLvTipImg.enabled = false
@ -1118,10 +1136,8 @@ function this.RefreshBattleUpLvTip(isShowUIOpen)
end)
end
end
end
end
end
function this.UpdateWordLv()

View File

@ -322,7 +322,7 @@ function this.CheckFightOpenRule(fightId)
if wave <= rule[2] then
states[index] = false
tips[index] = string.format("心魔试炼通关%s层", rule[2])-- 心魔试炼通关999层
btnTxts[index] = string.format("心魔试炼通关999", rule[2])
btnTxts[index] = string.format("心魔试炼通关%s", rule[2])
LogRed(tips[index]..", 当前:"..wave)
end
elseif rule[1] == 3 then