Commit 9c549014 authored by TanakaKotoha's avatar TanakaKotoha

foo foo

parent 33d994d6
......@@ -55,7 +55,7 @@ function su_y.hdspop0(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,su_y.thfilter1,tp,LOCATION_DECK,0,1,1,nil)
if Duel.SSet(tp,g)~=0 then
Duel.ConfirmCards(1-tp,g)
local tg=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_SZONE,0,nil)
local tg=Duel.GetMatchingGroup(su_y.fcfil,tp,LOCATION_SZONE,0,nil)
local tc=tg:GetFirst()
while tc do
tc:CancelToGrave()
......@@ -70,6 +70,9 @@ end
function su_y.stfil(c)
return c:IsFacedown() and not c:IsLocation(LOCATION_FZONE)
end
function su_y.fcfil(c)
return c:IsFaceup() and not c:IsLocation(LOCATION_FZONE) and not c:IsStatus(STATUS_CHAINING)
end
function su_y.thfilter1(c)
return (c:IsType(TYPE_TRAP) and c:IsType(TYPE_CONTINUOUS)) and c:IsSetCard(0x3a81) and c:IsSSetable()
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