Commit d7332ba2 authored by GuGu's avatar GuGu

Update c10099.lua

parent f3bc3d0b
Pipeline #33230 passed with stage
in 19 seconds
......@@ -23,7 +23,7 @@ function c10099.initial_effect(c)
--
end
--
function c10099.cfilter1(c,tp)
function c10099.cfilter1(c)
return c:IsFaceup() and c:IsSetCard(0x100,0x200) and c:IsAbleToRemoveAsCost()
end
function c10099.cfilter2(sg,tp)
......@@ -32,11 +32,11 @@ end
function c10099.con1(e,c)
if c==nil then return true end
local tp=c:GetControler()
local mg=Duel.GetMatchingGroup(c10099.cfilter1,tp,LOCATION_MZONE,0,nil,tp)
local mg=Duel.GetMatchingGroup(c10099.cfilter1,tp,LOCATION_MZONE,0,nil)
return mg:CheckSubGroup(c10099.cfilter2,2,2,tp)
end
function c10099.tg1(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Duel.GetMatchingGroup(c10099.cfilter1,tp,LOCATION_MZONE+LOCATION_HAND+LOCATION_GRAVE,0,c)
local g=Duel.GetMatchingGroup(c10099.cfilter1,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:SelectSubGroup(tp,c10099.cfilter2,true,2,2,tp)
if sg then
......
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