羁绊报错修改提交
parent
006c840e61
commit
6681e52bbf
|
@ -235,7 +235,7 @@ end
|
|||
--
|
||||
function this.AddEquipToList(_data)
|
||||
local single=this.initSingleData(_data)
|
||||
if CheckListIsContainValue1(PlayerManager.handBook[6],single.staticId)==false then
|
||||
if PlayerManager.handBook[6] and CheckListIsContainValue1(PlayerManager.handBook[6],single.staticId)==false then
|
||||
table.insert(PlayerManager.handBook[6],single.staticId)
|
||||
TianShuMiJuanManger.CheckFetterStatus(6)
|
||||
end
|
||||
|
|
|
@ -140,7 +140,7 @@ end
|
|||
function this.SetItemDataByid(id,state,pos)
|
||||
if not this.itemDataList[id] then
|
||||
this.CreatEmptyItemData(id)
|
||||
if CheckListIsContainValue1(PlayerManager.handBook[8],id)==false then
|
||||
if PlayerManager.handBook[8] and CheckListIsContainValue1(PlayerManager.handBook[8],id)==false then
|
||||
table.insert(PlayerManager.handBook[8],id)
|
||||
TianShuMiJuanManger.CheckFetterStatus(8)
|
||||
end
|
||||
|
|
|
@ -53,7 +53,7 @@ function this.InitSingleTreasureData(_singleData,notAdd)
|
|||
single.refineConfig = this.GetCurrTreasureLvConfig(2, currJewel.Star, _singleData.rebuildLevel)
|
||||
allTreasures[_singleData.id] = single
|
||||
-- end
|
||||
if CheckListIsContainValue1(PlayerManager.handBook[7],staticId)==false then
|
||||
if PlayerManager.handBook[7] and CheckListIsContainValue1(PlayerManager.handBook[7],staticId)==false then
|
||||
table.insert(PlayerManager.handBook[7],staticId)
|
||||
TianShuMiJuanManger.CheckFetterStatus(7)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue