Index: script/c0.lua ================================================================== --- script/c0.lua +++ script/c0.lua @@ -66,28 +66,28 @@ local k1 --~ 效果_所调用这个效果的效果 --~ 数_所调用这个效果的玩家 f["_从卡组选卡加入手卡"] = function(o1, o2) --~ 卡_玩家选定的卡 - local k2 - k2 = Duel.SelectMatchingCard(o2, Card.IsAbleToHand, o2, LOCATION_DECK, 0, k1, k1, nil) - Duel.SendtoHand(k2, nil, REASON_RULE) + local k11 + k11 = Duel.SelectMatchingCard(o2, Card.IsAbleToHand, o2, LOCATION_DECK, 0, k1, k1, nil) + Duel.SendtoHand(k11, nil, REASON_RULE) o1:Reset() end --~ 量_从卡组选几张卡加入手卡 f["从卡组选卡加入手卡"] = function(o1) --~ 效果 - local k2 + local k11 d["量_从卡组选几张卡加入手卡"] = o1 k1 = o1 - k2 = Effect.GlobalEffect() - k2:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) - k2:SetCode(EVENT_ADJUST) - k2:SetCondition(aux.TRUE) - k2:SetCountLimit(1) - k2:SetOperation(f["_从卡组选卡加入手卡"]) - Duel.RegisterEffect(k2, 0) + k11 = Effect.GlobalEffect() + k11:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS) + k11:SetCode(EVENT_ADJUST) + k11:SetCondition(aux.TRUE) + k11:SetCountLimit(1) + k11:SetOperation(f["_从卡组选卡加入手卡"]) + Duel.RegisterEffect(k11, 0) end end --~ 量_禁用几个我方主要怪兽区域 f["禁用我方主要怪兽区域"] = function(o1) --~ 效果