Index: 残局函数库/残局函数库.lua ================================================================== --- 残局函数库/残局函数库.lua +++ 残局函数库/残局函数库.lua @@ -37,8 +37,17 @@ effect_101 = Effect.GlobalEffect() effect_101:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) effect_101:SetCode(EVENT_ADJUST) effect_101:SetCountLimit(1) + function cache_1() + cache_1 = Duel.GetLP(0) + if cache_1 > 0 then + cache_1 = true + else + cache_1 = false + end + return cache_1 + end end fun["通关邀请"]()