@@ -11,20 +11,20 @@ function s.initial_effect(c)
1111 e1 :SetOperation (s .activate )
1212 c :RegisterEffect (e1 )
1313end
14- s .listed_series = {0x107e }
15- function s .filter (c ,e ,tp )
14+ s .listed_series = {SET_ZW }
15+ function s .spfilter (c ,e ,tp )
1616 return c :IsSetCard (SET_ZW ) and c :IsCanBeSpecialSummoned (e ,0 ,tp ,false ,false )
1717end
1818function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
1919 if chk == 0 then return Duel .GetLocationCount (tp ,LOCATION_MZONE )> 0
20- and Duel .IsExistingMatchingCard (s .filter ,tp ,LOCATION_HAND ,0 ,1 ,nil ,e ,tp ) end
21- Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,g ,1 ,tp ,LOCATION_HAND )
20+ and Duel .IsExistingMatchingCard (s .spfilter ,tp ,LOCATION_HAND ,0 ,1 ,nil ,e ,tp ) end
21+ Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,nil ,1 ,tp ,LOCATION_HAND )
2222end
2323function s .activate (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
24- if Duel .GetLocationCount (tp ,LOCATION_MZONE )< 1 then return end
24+ if Duel .GetLocationCount (tp ,LOCATION_MZONE )== 0 then return end
2525 Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_SPSUMMON )
26- local tc = Duel .SelectMatchingCard (tp ,s .filter ,tp ,LOCATION_HAND ,0 ,1 ,1 ,nil ,e ,tp )
27- if # tc > 0 then
28- Duel .SpecialSummon (tc ,0 ,tp ,tp ,false ,false ,POS_FACEUP )
26+ local g = Duel .SelectMatchingCard (tp ,s .spfilter ,tp ,LOCATION_HAND ,0 ,1 ,1 ,nil ,e ,tp )
27+ if # g > 0 then
28+ Duel .SpecialSummon (g ,0 ,tp ,tp ,false ,false ,POS_FACEUP )
2929 end
30- end
30+ end
0 commit comments