|
@@ -198,11 +198,10 @@ local function getBreakThroughReward(human)
|
|
|
BagLogic.addItemList(human, itemList, LOGTYPE)
|
|
BagLogic.addItemList(human, itemList, LOGTYPE)
|
|
|
|
|
|
|
|
redDotUpdate(human)
|
|
redDotUpdate(human)
|
|
|
- if ModuleisOpen(human) then
|
|
|
|
|
- BreakThrough_BreakThroughReward_Query(human)
|
|
|
|
|
- else
|
|
|
|
|
- entranceCloseCheck(human)
|
|
|
|
|
- end
|
|
|
|
|
|
|
+
|
|
|
|
|
+ BreakThrough_BreakThroughReward_Query(human)
|
|
|
|
|
+
|
|
|
|
|
+ entranceCloseCheck(human)
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
-- 领取所有进阶奖励
|
|
-- 领取所有进阶奖励
|
|
@@ -219,11 +218,9 @@ local function getAdvancedReward(human)
|
|
|
|
|
|
|
|
redDotUpdate(human)
|
|
redDotUpdate(human)
|
|
|
|
|
|
|
|
- if ModuleisOpen(human) then
|
|
|
|
|
- BreakThrough_AdvancedReward_Query(human)
|
|
|
|
|
- else
|
|
|
|
|
- entranceCloseCheck(human)
|
|
|
|
|
- end
|
|
|
|
|
|
|
+ BreakThrough_AdvancedReward_Query(human)
|
|
|
|
|
+
|
|
|
|
|
+ entranceCloseCheck(human)
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
-- 通知客户端弹出提示
|
|
-- 通知客户端弹出提示
|
|
@@ -331,21 +328,6 @@ function charge(human, nAllPrice, buyID)
|
|
|
BreakThrough_AdvancedReward_Query(human)
|
|
BreakThrough_AdvancedReward_Query(human)
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
--- 通关新的关卡了
|
|
|
|
|
-function StageUpdate(human)
|
|
|
|
|
- if not isBuy(human) then
|
|
|
|
|
- return
|
|
|
|
|
- end
|
|
|
|
|
-
|
|
|
|
|
- local itemList = getAllBreakThroughReward(human)
|
|
|
|
|
- if not itemList then
|
|
|
|
|
- return
|
|
|
|
|
- end
|
|
|
|
|
-
|
|
|
|
|
- -- 红点刷新
|
|
|
|
|
- redDotUpdate(human)
|
|
|
|
|
-end
|
|
|
|
|
-
|
|
|
|
|
-- 外部调用,升级
|
|
-- 外部调用,升级
|
|
|
function onLvUp(human)
|
|
function onLvUp(human)
|
|
|
showTips(human)
|
|
showTips(human)
|