@@ -25,17 +25,17 @@ function s.initial_effect(c)
25
25
c :RegisterEffect (e2 )
26
26
end
27
27
s .listed_series = {SET_RB }
28
- function s .spfilter (c ,e ,tp )
28
+ function s .spfromgyfilter (c ,e ,tp )
29
29
return c :IsLevelAbove (3 ) and c :IsSetCard (SET_RB ) and c :IsCanBeSpecialSummoned (e ,0 ,tp ,false ,false )
30
30
end
31
31
function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk ,chkc )
32
- if chkc then return chkc :IsLocation (LOCATION_GRAVE ) and chkc :IsControler (tp ) and s .spfilter (chkc ,e ,tp ) end
32
+ if chkc then return chkc :IsLocation (LOCATION_GRAVE ) and chkc :IsControler (tp ) and s .spfromgyfilter (chkc ,e ,tp ) end
33
33
if chk == 0 then return true end
34
- if Duel .IsExistingTarget (s .spfilter ,tp ,LOCATION_GRAVE ,0 ,1 ,nil ,e ,tp ) and Duel .SelectYesNo (tp ,aux .Stringid (id ,2 )) then
34
+ if Duel .IsExistingTarget (s .spfromgyfilter ,tp ,LOCATION_GRAVE ,0 ,1 ,nil ,e ,tp ) and Duel .SelectYesNo (tp ,aux .Stringid (id ,2 )) then
35
35
e :SetCategory (CATEGORY_SPECIAL_SUMMON )
36
36
e :SetProperty (EFFECT_FLAG_CARD_TARGET )
37
37
Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_SPSUMMON )
38
- local g = Duel .SelectTarget (tp ,s .spfilter ,tp ,LOCATION_GRAVE ,0 ,1 ,1 ,nil ,e ,tp )
38
+ local g = Duel .SelectTarget (tp ,s .spfromgyfilter ,tp ,LOCATION_GRAVE ,0 ,1 ,1 ,nil ,e ,tp )
39
39
Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,g ,1 ,tp ,0 )
40
40
else
41
41
e :SetCategory (0 )
@@ -61,7 +61,7 @@ function s.recthsptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
61
61
Duel .SetOperationInfo (0 ,CATEGORY_TOHAND ,g ,# g ,tp ,0 )
62
62
Duel .SetPossibleOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,nil ,1 ,tp ,LOCATION_HAND )
63
63
end
64
- function s .spfilter (c ,e ,tp )
64
+ function s .spfromhandfilter (c ,e ,tp )
65
65
return c :IsSetCard (SET_RB ) and c :IsCanBeSpecialSummoned (e ,0 ,tp ,false ,false )
66
66
end
67
67
function s .recthspop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
@@ -70,14 +70,14 @@ function s.recthspop(e,tp,eg,ep,ev,re,r,rp)
70
70
local sum = tg :GetSum (Card .GetBaseAttack )
71
71
if Duel .Recover (tp ,sum ,REASON_EFFECT )> 0 and Duel .SendtoHand (tg ,nil ,REASON_EFFECT )> 0 and Duel .GetMZoneCount (tp )> 0
72
72
and tg :FilterCount (Card .IsLocation ,nil ,LOCATION_HAND |LOCATION_EXTRA )> 0
73
- and Duel .IsExistingMatchingCard (s .spfilter ,tp ,LOCATION_HAND ,0 ,1 ,nil ,e ,tp ) then
73
+ and Duel .IsExistingMatchingCard (s .spfromhandfilter ,tp ,LOCATION_HAND ,0 ,1 ,nil ,e ,tp ) then
74
74
Duel .ShuffleHand (tp )
75
75
if not Duel .SelectYesNo (tp ,aux .Stringid (id ,3 )) then return end
76
76
Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_SPSUMMON )
77
- local sg = Duel .SelectMatchingCard (tp ,s .spfilter ,tp ,LOCATION_HAND ,0 ,1 ,1 ,nil ,e ,tp )
77
+ local sg = Duel .SelectMatchingCard (tp ,s .spfromhandfilter ,tp ,LOCATION_HAND ,0 ,1 ,1 ,nil ,e ,tp )
78
78
if # sg > 0 then
79
79
Duel .BreakEffect ()
80
80
Duel .SpecialSummon (sg ,0 ,tp ,tp ,false ,false ,POS_FACEUP )
81
81
end
82
82
end
83
- end
83
+ end
0 commit comments