潜能修改
parent
38c836b7f0
commit
48f78846a3
|
@ -132,7 +132,11 @@ function this.SwitchView(index)
|
||||||
if nextEquipConfig then
|
if nextEquipConfig then
|
||||||
this.lvTxt.gameObject:SetActive(true)
|
this.lvTxt.gameObject:SetActive(true)
|
||||||
this.jianTou:SetActive(true)
|
this.jianTou:SetActive(true)
|
||||||
this.proUpInfo.text=PoTencyTypeName[_TabData[index].type].."基础属性提升"..curEquipConfig.Attribute/100 .."%"
|
local curPro=0
|
||||||
|
if curEquipConfig then
|
||||||
|
curPro=curEquipConfig.Attribute
|
||||||
|
end
|
||||||
|
this.proUpInfo.text=PoTencyTypeName[_TabData[index].type].."基础属性提升"..curPro/100 .."%"
|
||||||
this.lvTxt.text=nextEquipConfig.Attribute/100 .."%"
|
this.lvTxt.text=nextEquipConfig.Attribute/100 .."%"
|
||||||
else
|
else
|
||||||
this.lvTxt.gameObject:SetActive(false)
|
this.lvTxt.gameObject:SetActive(false)
|
||||||
|
|
Loading…
Reference in New Issue