33-- scripted by YoshiDuels
44local s ,id = GetID ()
55function s .initial_effect (c )
6- -- Draw 1 card , then Special Summon 1 non-effect monster from the GY
6+ -- Send to Graveyard , then Special Summon
77 local e1 = Effect .CreateEffect (c )
88 e1 :SetDescription (aux .Stringid (id ,0 ))
99 e1 :SetCategory (CATEGORY_TOGRAVE + CATEGORY_SPECIAL_SUMMON )
@@ -13,8 +13,11 @@ function s.initial_effect(c)
1313 e1 :SetOperation (s .operation )
1414 c :RegisterEffect (e1 )
1515end
16+ function s .filter (c )
17+ return c :IsAbleToGrave () and not c :IsMaximumModeSide ()
18+ end
1619function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
17- if chk == 0 then return Duel .IsExistingMatchingCard (Card . IsAbleToGrave ,tp ,LOCATION_MZONE ,0 ,1 ,nil ) end
20+ if chk == 0 then return Duel .IsExistingMatchingCard (s . filter ,tp ,LOCATION_MZONE ,0 ,1 ,nil ) end
1821 Duel .SetOperationInfo (0 ,CATEGORY_TOGRAVE ,nil ,1 ,tp ,LOCATION_MZONE )
1922 Duel .SetPossibleOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,nil ,1 ,tp ,LOCATION_GRAVE )
2023end
2427function s .operation (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2528 -- Effect
2629 Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_TOGRAVE )
27- local g = Duel .SelectMatchingCard (tp ,Card .IsAbleToGrave ,tp ,LOCATION_MZONE ,0 ,1 ,1 ,nil )
28- Duel .HintSelection (g )
30+ local g = Duel .SelectMatchingCard (tp ,s .filter ,tp ,LOCATION_MZONE ,0 ,1 ,1 ,nil )
31+ local g2 = g :AddMaximumCheck ()
32+ Duel .HintSelection (g2 )
2933 if Duel .SendtoGrave (g ,REASON_EFFECT )== 0 then return end
3034 local sg = Duel .GetMatchingGroup (s .spfilter ,tp ,LOCATION_GRAVE ,0 ,nil ,e ,tp )
3135 if # sg > 0 and Duel .GetLocationCount (tp ,LOCATION_MZONE )> 0 and Duel .SelectYesNo (tp ,aux .Stringid (id ,1 )) then
0 commit comments