Index: 残局函数库/残局函数库.lua ================================================================== --- 残局函数库/残局函数库.lua +++ 残局函数库/残局函数库.lua @@ -30,11 +30,11 @@ effect_100:SetOperation(cache_1) Duel.RegisterEffect(effect_100 , 0) end -fun["开局添加手卡"] = function() +fun["开局添加手卡"] = function(str_1) local effect_101 effect_101 = Effect.GlobalEffect() effect_101:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) effect_101:SetCode(EVENT_ADJUST) @@ -47,10 +47,19 @@ cache_1 = false end return cache_1 end effect_101:SetCondition(cache_1) - function cache_1() + function cache_1(effect_event + , player_who_activate_the_effect) + cache_1 = Duel.SelectMatchingCard(player_who_activate_the_effect + , Card.IsAbleToHand + , player_who_activate_the_effect + , LOCATION_DECK + , 0 + , str_1 + , str_1 + , nil) end end fun["通关邀请"]()