1- -- Guivre
1+ -- ギーブル (Manga)
2+ -- Guivre (Manga)
23local s ,id = GetID ()
4+ local TOKEN_WYVERN = 18905770
35function s .initial_effect (c )
4- -- special summon
6+ -- When this card destroys an opponent's monster by battle: Special Summon 1 "Wyvern Token" to your field.
57 local e1 = Effect .CreateEffect (c )
68 e1 :SetDescription (aux .Stringid (74440055 ,0 ))
79 e1 :SetCategory (CATEGORY_SPECIAL_SUMMON + CATEGORY_TOKEN )
@@ -12,15 +14,16 @@ function s.initial_effect(c)
1214 e1 :SetOperation (s .operation )
1315 c :RegisterEffect (e1 )
1416end
17+ s .listed_names = {TOKEN_WYVERN }
1518function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
1619 if chk == 0 then return true end
1720 Duel .SetOperationInfo (0 ,CATEGORY_TOKEN ,nil ,1 ,tp ,0 )
1821 Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,nil ,1 ,tp ,0 )
1922end
2023function s .operation (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2124 if Duel .GetLocationCount (tp ,LOCATION_MZONE )> 0
22- and Duel .IsPlayerCanSpecialSummonMonster (tp ,id + 1 ,0 ,TYPES_TOKEN ,0 , 0 ,1 ,RACE_DRAGON ,0 , POS_FACEUP , tp ) then
23- local token = Duel .CreateToken (tp ,id + 1 )
25+ and Duel .IsPlayerCanSpecialSummonMonster (tp ,TOKEN_WYVERN ,0 ,TYPES_TOKEN ,400 , 400 ,1 ,RACE_DRAGON ,ATTRIBUTE_LIGHT ) then
26+ local token = Duel .CreateToken (tp ,TOKEN_WYVERN )
2427 Duel .SpecialSummon (token ,0 ,tp ,tp ,false ,false ,POS_FACEUP )
2528 end
26- end
29+ end
0 commit comments