@@ -42,6 +42,13 @@ function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
4242 Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,nil ,1 ,tp ,LOCATION_DECK )
4343end
4444function s .spop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
45+ if Duel .GetLocationCount (tp ,LOCATION_MZONE )> 0 then
46+ Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_SPSUMMON )
47+ local g = Duel .SelectMatchingCard (tp ,s .spfilter ,tp ,LOCATION_DECK ,0 ,1 ,1 ,nil ,e ,tp )
48+ if # g > 0 then
49+ Duel .SpecialSummon (g ,0 ,tp ,tp ,false ,false ,POS_FACEUP_DEFENSE )
50+ end
51+ end
4552 local c = e :GetHandler ()
4653 -- You cannot Special Summon for the rest of this turn, except Fairy monsters
4754 local e1 = Effect .CreateEffect (c )
@@ -55,12 +62,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
5562 Duel .RegisterEffect (e1 ,tp )
5663 -- Clock Lizard check
5764 aux .addTempLizardCheck (c ,tp ,function (e ,c ) return not c :IsOriginalRace (RACE_FAIRY ) end )
58- if Duel .GetLocationCount (tp ,LOCATION_MZONE )<= 0 then return end
59- Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_SPSUMMON )
60- local g = Duel .SelectMatchingCard (tp ,s .spfilter ,tp ,LOCATION_DECK ,0 ,1 ,1 ,nil ,e ,tp )
61- if # g > 0 then
62- Duel .SpecialSummon (g ,0 ,tp ,tp ,false ,false ,POS_FACEUP_DEFENSE )
63- end
6465end
6566function s .thconfilter (c )
6667 return c :IsAttribute (ATTRIBUTE_DARK ) and c :IsRace (RACE_FAIRY ) and c :IsFusionMonster () and c :IsFaceup ()
0 commit comments