天宫商店点击报错 bug修改
parent
d3a8722b95
commit
92e56472de
|
@ -177,7 +177,7 @@ end
|
||||||
function this.GetStatusByItemId(id)
|
function this.GetStatusByItemId(id)
|
||||||
local config = ConfigManager.TryGetConfigDataByKey(ConfigName.ChangingCard,"CardId",id)
|
local config = ConfigManager.TryGetConfigDataByKey(ConfigName.ChangingCard,"CardId",id)
|
||||||
if config then
|
if config then
|
||||||
return this.itemDataList[config.ID].state
|
return this.itemDataList[config.Id].state
|
||||||
end
|
end
|
||||||
return -1
|
return -1
|
||||||
end
|
end
|
||||||
|
|
|
@ -112,7 +112,6 @@ function this.UpdateWin()
|
||||||
cardData=IncarnationManager.itemDataList[curCardId]
|
cardData=IncarnationManager.itemDataList[curCardId]
|
||||||
curStar=cardData.star
|
curStar=cardData.star
|
||||||
curLevel=cardData.level
|
curLevel=cardData.level
|
||||||
LogBlue("等级:"..curLevel.." 星级:"..curStar)
|
|
||||||
this.titleText.text=cardData.name
|
this.titleText.text=cardData.name
|
||||||
local propData=IncarnationManager.GetChangeCardProperty(curCardId)
|
local propData=IncarnationManager.GetChangeCardProperty(curCardId)
|
||||||
if type==1 then
|
if type==1 then
|
||||||
|
|
Loading…
Reference in New Issue