@@ -33,16 +33,16 @@ function s.tgfilter(c)
3333 return c :IsRace (RACE_FIEND |RACE_ZOMBIE ) and c :IsRitualMonster () and c :IsAbleToGrave ()
3434end
3535function s .tgtg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
36- if chk == 0 then return Duel .IsExistingMatchingCard (s .tgfilter ,tp ,LOCATION_DECK ,0 ,1 ,nil ) end
36+ if chk == 0 then return Duel .IsExistingMatchingCard (s .tgfilter ,tp ,LOCATION_HAND | LOCATION_DECK ,0 ,1 ,nil ) end
3737 Duel .SetOperationInfo (0 ,CATEGORY_TOGRAVE ,nil ,1 ,tp ,LOCATION_DECK )
38- Duel .SetPossibleOperationInfo (0 ,CATEGORY_TOHAND ,nil ,1 ,tp ,LOCATION_DECK )
38+ Duel .SetPossibleOperationInfo (0 ,CATEGORY_TOHAND ,nil ,1 ,tp ,LOCATION_HAND | LOCATION_DECK )
3939end
4040function s .thfilter (c )
4141 return c :IsRitualSpell () and c :IsAbleToHand ()
4242end
4343function s .tgop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
4444 Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_TOGRAVE )
45- local tg = Duel .SelectMatchingCard (tp ,s .tgfilter ,tp ,LOCATION_DECK ,0 ,1 ,1 ,nil )
45+ local tg = Duel .SelectMatchingCard (tp ,s .tgfilter ,tp ,LOCATION_HAND | LOCATION_DECK ,0 ,1 ,1 ,nil )
4646 if # tg > 0 and Duel .SendtoGrave (tg ,REASON_EFFECT )> 0 and tg :GetFirst ():IsLocation (LOCATION_GRAVE )
4747 and Duel .IsExistingMatchingCard (s .thfilter ,tp ,LOCATION_DECK ,0 ,1 ,nil )
4848 and Duel .SelectYesNo (tp ,aux .Stringid (id ,2 )) then
@@ -70,4 +70,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
7070 if tc :IsRelateToEffect (e ) then
7171 Duel .SpecialSummon (tc ,0 ,tp ,tp ,false ,false ,POS_FACEUP )
7272 end
73- end
73+ end
0 commit comments