Commit 3527a931 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12026021.lua

parent 9a31b236
...@@ -59,8 +59,7 @@ function c12026021.spfilter1(c,e,tp) ...@@ -59,8 +59,7 @@ function c12026021.spfilter1(c,e,tp)
return c:IsSetCard(0x1fbd) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) return c:IsSetCard(0x1fbd) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end end
function c12026021.sptg1(e,tp,eg,ep,ev,re,r,rp,chk) function c12026021.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return chkc~=e:GetHandler() and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return chkc~=e:GetHandler() and Duel.IsExistingMatchingCard(c12026021.spfilter1,tp,LOCATION_DECK,0,1,e:GetHandler(),e,tp) end
and Duel.IsExistingMatchingCard(c12026021.spfilter1,tp,LOCATION_HAND,0,1,e:GetHandler(),e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND)
end end
function c12026021.spop1(e,tp,eg,ep,ev,re,r,rp) function c12026021.spop1(e,tp,eg,ep,ev,re,r,rp)
......
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