关卡解锁跳转添加提交
parent
5ab2f2f40a
commit
b841b77467
|
|
@ -1108,6 +1108,24 @@ function this.RefreshBattleUpLvTip(isShowUIOpen)
|
||||||
JumpManager.GoJump(1011)
|
JumpManager.GoJump(1011)
|
||||||
end)
|
end)
|
||||||
elseif ruleType == 4 then
|
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.battleUpLvTip:SetActive(true)
|
||||||
this.battleUpLvTipImg.enabled = false
|
this.battleUpLvTipImg.enabled = false
|
||||||
|
|
@ -1118,10 +1136,8 @@ function this.RefreshBattleUpLvTip(isShowUIOpen)
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function this.UpdateWordLv()
|
function this.UpdateWordLv()
|
||||||
|
|
|
||||||
|
|
@ -322,7 +322,7 @@ function this.CheckFightOpenRule(fightId)
|
||||||
if wave <= rule[2] then
|
if wave <= rule[2] then
|
||||||
states[index] = false
|
states[index] = false
|
||||||
tips[index] = string.format("心魔试炼通关%s层", rule[2])-- 心魔试炼通关999层
|
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)
|
LogRed(tips[index]..", 当前:"..wave)
|
||||||
end
|
end
|
||||||
elseif rule[1] == 3 then
|
elseif rule[1] == 3 then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue