Commit 367ba620 authored by POLYMER's avatar POLYMER

fix

parent 1153cdcc
......@@ -69,7 +69,7 @@ function c53771001.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,0,LOCATION_DECK)
end
function c53771001.thfilter(c,g)
return c:IsAbleToHand() and not c:IsLocation(LOCATION_HAND) and g:IsExists(c53771001.tgfilter,1,c)
return c:IsAbleToHand() and not c:IsLocation(LOCATION_HAND) and g:IsExists(c53771001.tgfilter,1,nil)
end
function c53771001.tgfilter(c)
return c:IsSetCard(0xa53b) and c:IsAbleToGrave()
......
--防御阵线 压制
local s,id,o=GetID()
if not CATEGORY_MSET then CATEGORY_MSET=0 end
if not CATEGORY_SSET then CATEGORY_SSET=0 end
function s.initial_effect(c)
--act in set turn
local e0=Effect.CreateEffect(c)
......
......@@ -95,13 +95,13 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end
elseif sel==3 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,HINTMSG_TOGRAVE,0,1,1,nil)
if g:GetCount()>0 then
Duel.SSet(tp,g)
end
elseif sel==4 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_REMOVED,0,1,1,nil)
if g:GetCount()>0 then
Duel.SSet(tp,g)
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