Commit e8ee86b8 authored by GuGu's avatar GuGu

Update c99999031.lua

parent 16248bcf
Pipeline #34368 passed with stage
in 52 seconds
......@@ -16,6 +16,7 @@ function c99999031.initial_effect(c)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetRange(LOCATION_GRAVE)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetCountLimit(1,EFFECT_COUNT_CODE_CHAIN)
e2:SetCost(c99999031.con)
e2:SetTarget(c99999031.tg)
e2:SetOperation(c99999031.op)
......@@ -51,7 +52,7 @@ function c99999031.filter2(c)
end
function c99999031.tg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chk==0 then return c:IsAbleToRemove() and Duel.IsExistingMatchingCard(c99999031.filter2,tp,LOCATION_GRAVE,0,1,nil) and c:IsStatus(STATUS_CHAINING) end
if chk==0 then return c:IsAbleToRemove() and Duel.IsExistingMatchingCard(c99999031.filter2,tp,LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_REMOVE,c,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment