parent
ef84d74df0
commit
dd37f1a2e5
|
|
@ -39,7 +39,7 @@ function this.GetCollectLvAndNum()
|
||||||
collect=collect+HeroManager.ReturnGiftCount()
|
collect=collect+HeroManager.ReturnGiftCount()
|
||||||
end
|
end
|
||||||
for k, v in ConfigPairs(giftConfig) do
|
for k, v in ConfigPairs(giftConfig) do
|
||||||
if if collect>=v.Gift and HarmonyManager.GetSingleAdditionsData(HarmonyAddType.AddLv).value >= v.Harmony then
|
if collect>=v.Gift and HarmonyManager.GetSingleAdditionsData(HarmonyAddType.AddLv).value >= v.Harmony then
|
||||||
lv=v.Id
|
lv=v.Id
|
||||||
curNum=v.Box
|
curNum=v.Box
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue