@@ -6,7 +6,7 @@ function s.initial_effect(c)
66 -- Shuffle 3 monsters from the GYs to deck
77 local e1 = Effect .CreateEffect (c )
88 e1 :SetDescription (aux .Stringid (id ,0 ))
9- e1 :SetCategory (CATEGORY_TODECK )
9+ e1 :SetCategory (CATEGORY_TODECK + CATEGORY_ATKCHANGE )
1010 e1 :SetType (EFFECT_TYPE_IGNITION )
1111 e1 :SetRange (LOCATION_MZONE )
1212 e1 :SetCountLimit (1 )
2222function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
2323 if chk == 0 then return Duel .IsExistingMatchingCard (s .tdfilter ,tp ,LOCATION_GRAVE ,0 ,3 ,nil )
2424 and Duel .IsExistingMatchingCard (s .tdfilter ,tp ,0 ,LOCATION_GRAVE ,3 ,nil ) end
25- Duel .SetOperationInfo (0 ,CATEGORY_TODECK ,nil ,3 ,tp ,LOCATION_GRAVE )
26- Duel .SetOperationInfo (0 ,CATEGORY_TODECK , nil , 3 , 1 - tp ,LOCATION_GRAVE )
25+ Duel .SetOperationInfo (0 ,CATEGORY_TODECK ,nil ,3 ,PLAYER_ALL ,LOCATION_GRAVE )
26+ Duel .SetPossibleOperationInfo (0 ,CATEGORY_ATKCHANGE , e : GetHandler (), 1 , tp ,100 )
2727end
2828function s .ogfilter (c )
2929 return c :IsRace (RACE_MACHINE ) and c :IsAttribute (ATTRIBUTE_EARTH ) and c :GetOriginalLevel ()> 0
3030end
3131function s .operation (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
3232 local c = e :GetHandler ()
3333 -- Requirement
34- local dg1 = Duel .SelectMatchingCard (tp ,s .tdfilter ,tp ,0 ,LOCATION_GRAVE ,3 ,3 ,nil )
34+ local dg1 = Duel .SelectMatchingCard (tp ,aux . NecroValleyFilter ( s .tdfilter ) ,tp ,0 ,LOCATION_GRAVE ,3 ,3 ,nil )
3535 if # dg1 == 0 then return end
36- local dg2 = Duel .SelectMatchingCard (1 - tp ,s .tdfilter ,tp ,LOCATION_GRAVE ,0 ,3 ,3 ,nil )
36+ local dg2 = Duel .SelectMatchingCard (1 - tp ,aux .NecroValleyFilter (s .tdfilter ),tp ,LOCATION_GRAVE ,0 ,3 ,3 ,nil )
37+ if # dg2 == 0 then return end
3738 dg1 :Merge (dg2 )
3839 Duel .HintSelection (dg1 ,true )
3940 Duel .SendtoDeck (dg1 ,nil ,SEQ_DECKSHUFFLE ,REASON_EFFECT )
@@ -44,7 +45,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
4445 e1 :SetType (EFFECT_TYPE_SINGLE )
4546 e1 :SetCode (EFFECT_UPDATE_ATTACK )
4647 e1 :SetValue (ct * 100 )
47- e1 :SetReset (RESET_EVENT + RESETS_STANDARD + RESET_PHASE + PHASE_END )
48+ e1 :SetReset (RESET_EVENT | RESETS_STANDARD | RESET_PHASE | PHASE_END )
4849 c :RegisterEffectRush (e1 )
4950 end
5051end
0 commit comments