@@ -35,15 +35,15 @@ function s.tokenfilter(c,tp)
3535 return c :IsFaceup () and c :HasLevel ()
3636 and Duel .IsPlayerCanSpecialSummonMonster (tp ,id + 1 ,c :GetOriginalSetCard (),c :GetOriginalType (),c :GetBaseAttack (),c :GetBaseDefense (),c :GetOriginalLevel (),c :GetOriginalRace (),c :GetOriginalAttribute ())
3737end
38- function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
38+ function s .tokentg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
3939 local ct = Duel .GetFlagEffect (1 - tp ,id )
4040 if ct > 1 and Duel .IsPlayerAffectedByEffect (tp ,CARD_BLUEEYES_SPIRIT ) then return false end
4141 if chk == 0 then return ct > 0 and Duel .GetLocationCount (tp ,LOCATION_MZONE )>= ct
4242 and Duel .IsExistingMatchingCard (s .tokenfilter ,tp ,LOCATION_MZONE ,0 ,1 ,nil ,tp ) end
4343 Duel .SetOperationInfo (0 ,CATEGORY_TOKEN ,nil ,ct ,0 ,0 )
4444 Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,nil ,ct ,0 ,0 )
4545end
46- function s .operation (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
46+ function s .tokenop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
4747 local ct = Duel .GetFlagEffect (1 - tp ,id )
4848 if (ct > 1 and Duel .IsPlayerAffectedByEffect (tp ,CARD_BLUEEYES_SPIRIT )) or Duel .GetLocationCount (tp ,LOCATION_MZONE )< ct
4949 or not Duel .IsExistingMatchingCard (s .tokenfilter ,tp ,LOCATION_MZONE ,0 ,1 ,nil ,tp ) then return end
0 commit comments