@@ -7,21 +7,21 @@ function s.initial_effect(c)
77 e1 :SetCategory (CATEGORY_SPECIAL_SUMMON + CATEGORY_TOKEN )
88 e1 :SetType (EFFECT_TYPE_ACTIVATE )
99 e1 :SetCode (EVENT_FREE_CHAIN )
10- e1 :SetCondition (function (e ) return Duel .IsExistingMatchingCard (e : GetHandlerPlayer (), aux .FaceupFilter (Card .IsCode ,511000880 ),LOCATION_ONFIELD ,LOCATION_ONFIELD ,1 ,nil ) end )
10+ e1 :SetCondition (function (e ) return Duel .IsExistingMatchingCard (aux .FaceupFilter (Card .IsCode ,511000880 ), e : GetHandlerPlayer ( ),LOCATION_ONFIELD ,LOCATION_ONFIELD ,1 ,nil ) end )
1111 e1 :SetTarget (s .target )
1212 e1 :SetOperation (s .operation )
1313 c :RegisterEffect (e1 )
1414end
1515s .listed_names = {511000880 ,id + 1 } -- "KC-1 Crayton", "Tank Token"
1616function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
1717 if chk == 0 then return Duel .GetLocationCount (tp ,LOCATION_MZONE )> 2 and not Duel .IsPlayerAffectedByEffect (tp ,CARD_BLUEEYES_SPIRIT )
18- and Duel .IsPlayerCanSpecialSummonMonster (tp ,id + 1 ,0 ,TYPES_TOKEN ,500 ,1200 ,3 ,RACE_MACHINE ,ATTRIBUTE_EARTH ,POS_FACEUP_DEFENSE ) end
18+ and Duel .IsPlayerCanSpecialSummonMonster (tp ,id + 1 ,0 ,TYPES_TOKEN ,500 ,1200 ,4 ,RACE_MACHINE ,ATTRIBUTE_EARTH ,POS_FACEUP_DEFENSE ) end
1919 Duel .SetOperationInfo (0 ,CATEGORY_TOKEN ,nil ,3 ,0 ,0 )
2020 Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,nil ,3 ,tp ,0 )
2121end
2222function s .operation (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2323 if Duel .IsPlayerAffectedByEffect (tp ,CARD_BLUEEYES_SPIRIT ) or Duel .GetLocationCount (tp ,LOCATION_MZONE )< 3 or
24- not Duel .IsPlayerCanSpecialSummonMonster (tp ,id + 1 ,0 ,TYPES_TOKEN ,500 ,1200 ,3 ,RACE_MACHINE ,ATTRIBUTE_EARTH ,POS_FACEUP_DEFENSE )then return end
24+ not Duel .IsPlayerCanSpecialSummonMonster (tp ,id + 1 ,0 ,TYPES_TOKEN ,500 ,1200 ,4 ,RACE_MACHINE ,ATTRIBUTE_EARTH ,POS_FACEUP_DEFENSE )then return end
2525 for i = 1 ,3 do
2626 local token = Duel .CreateToken (tp ,id + 1 )
2727 if Duel .SpecialSummonStep (token ,0 ,tp ,tp ,false ,false ,POS_FACEUP_DEFENSE ) then
0 commit comments