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