排行榜宝器修改

dev_chengFeng
jiaoyangna 2021-08-31 11:08:12 +08:00
parent 03b00d7762
commit 7713a65826
5 changed files with 5 additions and 3 deletions

View File

@ -768,7 +768,6 @@ function this.InitSingleTreasureData(_singleData)
single.maxTreeLv = currJewel.GodHoodMaxlv
single.treeLv = single.maxTreeLv or 0
single.fourTotal = 0
LogGreen("_treeLevel:"..single.treeLv.." single.fourTotal:"..single.fourTotal)
single.upHeroDid=""
local quantity=currJewel.Level
single.quantity=quantity

View File

@ -615,6 +615,7 @@ function this.InitSingleTreasureData(_singleData)
single.lv=_singleData.exp
single.refineLv=_singleData.rebuildLevel
single.treeLv = _singleData.treeLv or 0
single.fourTotal = 0
single.maxLv=currJewel.Max[1]
single.maxRefineLv=currJewel.Max[2]
single.maxTreeLv = currJewel.GodHoodMaxlv

View File

@ -3738,7 +3738,7 @@ function this.CheckIsUpTreasure(Did,index)
if not Did then
return false
end
local curEquipData = EquipTreasureManager.GetSingleEquipTreasreData(Did) or MonsterCampManager.GetSingleTreasureByIdDyn(Did)
local curEquipData = EquipTreasureManager.GetSingleEquipTreasreData(Did) or MonsterCampManager.GetSingleTreasureByIdDyn(Did) or ExpeditionManager.GetSingleTreasureByIdDyn(Did) or GoodFriendManager.GetSingleTreasureByIdDyn(Did)
local isMax,isMatEnough,items
local indexType = curEquipData.equipType == 1 and HarmonyAddType.HunSoulPrint or HarmonyAddType.LingSoulPrint
if index == 1 then

View File

@ -16,6 +16,8 @@ this.fourMonsterData = {}
this.CurOffsetIndex = -1
function this.Initialize()
this.allTreasures = {}
this.friendHelpHeros = {}
this.isMaxMonsterWave = false
this.monsterWave = 0 -- 当前妖兽波次
this.m_Jump = false -- 跳过战斗设置

View File

@ -374,7 +374,7 @@ function this.EquipInfo()
data = ExpeditionManager.GetSingleTreasureByIdDyn(did)
end
if not data then
GoodFriendManager.GetSingleTreasureByIdDyn(did)
data = GoodFriendManager.GetSingleTreasureByIdDyn(did)
end
local pos = Util.GetGameObject(this.babyGrid,"Pre"..n.."/pos")
local btn = Util.GetGameObject(pos,"mask")