Commit a7c268e8 authored by wind2009's avatar wind2009
parents d794876a 96d2419a
Pipeline #43153 failed with stages
in 1 minute and 8 seconds
...@@ -20,6 +20,9 @@ end ...@@ -20,6 +20,9 @@ end
function s.grfilter(c) function s.grfilter(c)
return c:IsAbleToRemove() and c:IsType(TYPE_MONSTER) return c:IsAbleToRemove() and c:IsType(TYPE_MONSTER)
end end
function s.mfilter(c)
return c:IsAbleToRemove()
end
function s.thfilter(c) function s.thfilter(c)
return aux.IsCodeListed(c,101305044) and c:IsAbleToHand() return aux.IsCodeListed(c,101305044) and c:IsAbleToHand()
end end
......
...@@ -89,6 +89,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,6 +89,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp,e:GetLabel()) local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp,e:GetLabel())
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,true,false,POS_FACEUP)
end end
end 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