Commit 91cf6aea authored by mercury233's avatar mercury233

fix

parent d4f060ec
...@@ -84,7 +84,7 @@ function c100235071.setfilter(c) ...@@ -84,7 +84,7 @@ function c100235071.setfilter(c)
end end
function c100235071.setop(e,tp,eg,ep,ev,re,r,rp) function c100235071.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,c100235071.setfilter,tpLOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c100235071.setfilter,tp,LOCATION_DECK,0,1,1,nil)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc then if tc then
Duel.SSet(tp,tc) Duel.SSet(tp,tc)
......
...@@ -16,7 +16,7 @@ function c92572371.cfilter(c) ...@@ -16,7 +16,7 @@ function c92572371.cfilter(c)
return (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and (c:IsSetCard(0x79) or c:IsSetCard(0x7c)) and c:IsAbleToGraveAsCost() return (c:IsLocation(LOCATION_HAND) or c:IsFaceup()) and (c:IsSetCard(0x79) or c:IsSetCard(0x7c)) and c:IsAbleToGraveAsCost()
end end
function c92572371.cfilter1(c,g,tp) function c92572371.cfilter1(c,g,tp)
return g:IsExists(c92572371.cfilter1,1,c,c,tp) return g:IsExists(c92572371.cfilter2,1,c,c,tp)
end end
function c92572371.cfilter2(c,mc,tp) function c92572371.cfilter2(c,mc,tp)
return Duel.GetMZoneCount(tp,Group.FromCards(c,mc))>0 return Duel.GetMZoneCount(tp,Group.FromCards(c,mc))>0
......
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