【碎片合成】
parent
3512d1da7e
commit
eb81667c29
|
@ -299,7 +299,10 @@ function this.OnShowLayout3Data()
|
|||
local maxCompoundValue = math.floor(itemData.num/itemData.itemConfig.UsePerCount)
|
||||
compoundMaxNum=maxCompoundValue > gameSetting.HeroCompoundLimit and gameSetting.HeroCompoundLimit or maxCompoundValue
|
||||
endHeroNum=gameSetting.HeroNumlimit-LengthOfTable(HeroManager.GetAllHeroDatas())
|
||||
compoundMaxNum= 50 > endHeroNum and endHeroNum or 50
|
||||
compoundMaxNum=compoundMaxNum >endHeroNum and endHeroNum or compoundMaxNum
|
||||
if compoundMaxNum > 50 then
|
||||
compoundMaxNum = 50
|
||||
end
|
||||
elseif itemData.itemConfig.ItemType==ItemType.Box then--宝箱
|
||||
this.nameText.text=Language[10194]
|
||||
this.btnCompoundText.text=Language[10195]
|
||||
|
|
Loading…
Reference in New Issue