【宝物】精炼,弹服务器开小差
parent
1482d308cb
commit
a6e3ddcd7d
|
@ -78,7 +78,7 @@ function this.OpenTreasure(star)
|
|||
end
|
||||
|
||||
--获取当前宝物升级数据
|
||||
function this.GetCurrTreasureLvConfig(_type, _id, _lv)
|
||||
function this.jGetCurrTreasureLvConfig(_type, _id, _lv)
|
||||
for _, configInfo in ConfigPairs(jewerLevelUpConfig) do
|
||||
if configInfo.Type == _type and configInfo.PoolID == _id and configInfo.Level == _lv then
|
||||
return configInfo
|
||||
|
@ -334,7 +334,6 @@ function this.GetEnoughRefineTreasure(_id, _idDyn)
|
|||
else
|
||||
isUpHero = true
|
||||
end
|
||||
|
||||
if v.id == _id and v.idDyn ~= _idDyn and v.lv == 0 and v.refineLv == 0 and isUpHero == false then
|
||||
list[i] = v
|
||||
num = num + 1
|
||||
|
|
|
@ -173,6 +173,7 @@ end
|
|||
function this.SetWindShow(_index)
|
||||
haveTreasures = {}
|
||||
type=_index
|
||||
LogBlue("curEquipData.idDyn:"..curEquipData.idDyn)
|
||||
curEquipData = EquipTreasureManager.GetSingleEquipTreasreData(curEquipData.idDyn)
|
||||
isMatEnough=true
|
||||
isCoinEnough=true
|
||||
|
@ -378,7 +379,7 @@ function this.GetCostItems(_config)
|
|||
if config then
|
||||
item.icon=GetResourcePath(config.ResourceID)
|
||||
item.frame=GetQuantityImageByquality(config.Quantity)
|
||||
local equips,num=EquipTreasureManager.GetEnoughRefineTreasure(type,"cxvcbvbvnbn")
|
||||
local equips,num=EquipTreasureManager.GetEnoughRefineTreasure(type,curEquipData.idDyn)
|
||||
if equips then
|
||||
item.haveNum= num
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue