|
|
@@ -15,6 +15,8 @@ local TreasureChestLogic = require("treasurechest.TreasureChestLogic")
|
|
|
local Log = require("common.Log")
|
|
|
local CommonDefine = require("common.CommonDefine")
|
|
|
local ShopLogic = require("shop.ShopLogic")
|
|
|
+local UnionLogic = require("union.UnionLogic")
|
|
|
+
|
|
|
|
|
|
local MONTH_CARD_STATE_0 = 0 -- 已过期
|
|
|
local MONTH_CARD_STATE_1 = 1 -- 未过期
|
|
|
@@ -244,6 +246,7 @@ function buyMonthCard(human,id)
|
|
|
if MONTH_CARD_FOREVER == id then
|
|
|
TreasureChestLogic.TreasureChestLogic_BuyOpenAuto(human)
|
|
|
ShopLogic.GetBuyLiftTimeCard(human)
|
|
|
+ UnionLogic.ActivateForeverCard(human)
|
|
|
end
|
|
|
end
|
|
|
|