神应 上限修改
parent
f6e27c21d3
commit
05d1eeeb6c
|
|
@ -32,16 +32,12 @@ function this.InitSingleTreasureData(_singleData,notAdd)
|
||||||
single.idDyn = _singleData.id
|
single.idDyn = _singleData.id
|
||||||
single.lv = _singleData.exp
|
single.lv = _singleData.exp
|
||||||
single.refineLv = _singleData.rebuildLevel
|
single.refineLv = _singleData.rebuildLevel
|
||||||
single.treeLv=_singleData.treeLv
|
|
||||||
single.fourSpirit=_singleData.fourSpirit
|
single.fourSpirit=_singleData.fourSpirit
|
||||||
single.maxLv = currJewel.Max[1]
|
single.maxLv = currJewel.Max[1]
|
||||||
single.maxRefineLv = currJewel.Max[2]
|
single.maxRefineLv = currJewel.Max[2]
|
||||||
single.maxTreeLv = currJewel.GodHoodMaxlv
|
single.maxTreeLv = currJewel.GodHoodMaxlv
|
||||||
|
single.treeLv=_singleData.treeLv <= single.maxTreeLv and _singleData.treeLv or single.maxTreeLv
|
||||||
single.upHeroDid = ""
|
single.upHeroDid = ""
|
||||||
-- single.TreeLv = function()
|
|
||||||
-- return SacredTreeManager.treeLevel <= single.maxTreeLv and SacredTreeManager.treeLevel or single.maxTreeLv
|
|
||||||
-- end
|
|
||||||
-- single.treeLv = single.TreeLv()
|
|
||||||
single.fourTotal = MonsterCampManager.GetFourElementTotalWave()
|
single.fourTotal = MonsterCampManager.GetFourElementTotalWave()
|
||||||
local quantity = currJewel.Level
|
local quantity = currJewel.Level
|
||||||
single.quantity = quantity
|
single.quantity = quantity
|
||||||
|
|
|
||||||
|
|
@ -422,7 +422,7 @@ function EquipTreasureStrongPopup:SetWindShow(_index)
|
||||||
this.btnStrong:SetActive(false)
|
this.btnStrong:SetActive(false)
|
||||||
this.btnShenying:SetActive(true)
|
this.btnShenying:SetActive(true)
|
||||||
this.SetBtnSelect(this.btn_shenyingPage)
|
this.SetBtnSelect(this.btn_shenyingPage)
|
||||||
isMax=curEquipData.treeLv==curEquipData.maxTreeLv
|
isMax=curEquipData.treeLv>=curEquipData.maxTreeLv
|
||||||
this.properList[0].leftTxt.text = "神应等级"..curEquipData.treeLv
|
this.properList[0].leftTxt.text = "神应等级"..curEquipData.treeLv
|
||||||
if isMax then
|
if isMax then
|
||||||
this.properList[0].rightTxt.text = Language[11062]
|
this.properList[0].rightTxt.text = Language[11062]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue