|
@@ -46,6 +46,9 @@ function isRed(human, YYInfo, funcConfig)
|
|
|
print("config is ",table.print_lua_table(absActConfig))
|
|
print("config is ",table.print_lua_table(absActConfig))
|
|
|
AbsActLogic.checkAbsActClean(human, id)
|
|
AbsActLogic.checkAbsActClean(human, id)
|
|
|
local absAct = human.db.absAct[id]
|
|
local absAct = human.db.absAct[id]
|
|
|
|
|
+ if not absAct then
|
|
|
|
|
+ return false
|
|
|
|
|
+ end
|
|
|
for k, giftId in pairs(ABS_PREMIUM_GIFT_LIST_ACTID[absActConfig.actId]) do
|
|
for k, giftId in pairs(ABS_PREMIUM_GIFT_LIST_ACTID[absActConfig.actId]) do
|
|
|
local v = AbsActExcel.premiumGift[giftId]
|
|
local v = AbsActExcel.premiumGift[giftId]
|
|
|
if v then
|
|
if v then
|