1- -- 寿司天使ドラゴンロール
2- -- Dragon Roll the Sushi Angel
1+ -- 寿司天使ドラゴンロール
2+ -- Dragon Roll the Sushi Fairy
33local s ,id = GetID ()
44function s .initial_effect (c )
55 -- Send to GY and destroy
66 local e1 = Effect .CreateEffect (c )
7+ e1 :SetDescription (aux .Stringid (id ,0 ))
78 e1 :SetCategory (CATEGORY_DRAW )
89 e1 :SetType (EFFECT_TYPE_IGNITION )
910 e1 :SetRange (LOCATION_MZONE )
@@ -15,7 +16,7 @@ function s.initial_effect(c)
1516end
1617function s .condition (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
1718 local c = e :GetHandler ()
18- return c :IsSummonType ( SUMMON_TYPE_NORMAL ) and c : IsStatus ( STATUS_SUMMON_TURN )
19+ return c :IsStatus ( STATUS_SUMMON_TURN ) and Duel . GetFieldGroupCount ( tp , LOCATION_DECK , 0 ) >= 10
1920end
2021function s .tdfilter (c )
2122 return c :IsAbleToDeck () and c :IsRace (RACE_FAIRY )
2829function s .operation (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2930 local c = e :GetHandler ()
3031 local tg = Duel .SelectMatchingCard (tp ,s .tdfilter ,tp ,LOCATION_GRAVE ,0 ,1 ,1 ,nil )
31- if Duel .SendtoDeck (tg ,nil ,SEQ_DECKBOTTOM ,REASON_EFFECT )> 0 then
32- Duel .Draw (tp ,1 ,REASON_EFFECT )
33- -- Cannot attack with level 6 or lower
34- local e1 = Effect .CreateEffect (e :GetHandler ())
35- e1 :SetType (EFFECT_TYPE_FIELD )
36- e1 :SetCode (EFFECT_CANNOT_ATTACK )
37- e1 :SetProperty (EFFECT_FLAG_OATH )
38- e1 :SetTargetRange (LOCATION_MZONE ,0 )
39- e1 :SetTarget (s .ftarget )
40- e1 :SetReset (RESET_PHASE + PHASE_END )
41- Duel .RegisterEffect (e1 ,tp )
42- end
32+ if Duel .SendtoDeck (tg ,nil ,SEQ_DECKBOTTOM ,REASON_EFFECT )< 1 then return end
33+ Duel .Draw (tp ,1 ,REASON_EFFECT )
34+ -- Cannot attack with level 6 or lower
35+ local e1 = Effect .CreateEffect (e :GetHandler ())
36+ e1 :SetType (EFFECT_TYPE_FIELD )
37+ e1 :SetCode (EFFECT_CANNOT_ATTACK )
38+ e1 :SetProperty (EFFECT_FLAG_OATH )
39+ e1 :SetTargetRange (LOCATION_MZONE ,0 )
40+ e1 :SetTarget (s .ftarget )
41+ e1 :SetReset (RESET_PHASE + PHASE_END )
42+ Duel .RegisterEffect (e1 ,tp )
4343end
4444function s .ftarget (e ,c )
4545 return c :IsLevelBelow (6 )
0 commit comments