1+ -- EMソード・フィッシュ (Anime)
12-- Performapal Sword Fish (Anime)
23local s ,id = GetID ()
34function s .initial_effect (c )
4- -- atk down
5+ -- One monster your opponent controls loses 600 ATK
56 local e1 = Effect .CreateEffect (c )
67 e1 :SetDescription (aux .Stringid (id ,1 ))
78 e1 :SetCategory (CATEGORY_ATKCHANGE )
89 e1 :SetType (EFFECT_TYPE_IGNITION )
910 e1 :SetProperty (EFFECT_FLAG_CARD_TARGET )
10- e1 :SetCountLimit (1 )
1111 e1 :SetRange (LOCATION_MZONE )
12+ e1 :SetCountLimit (1 )
1213 e1 :SetTarget (s .atktg )
1314 e1 :SetOperation (s .atkop )
1415 c :RegisterEffect (e1 )
1516end
16-
1717function s .atktg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk ,chkc )
1818 if chkc then return chkc :IsLocation (LOCATION_MZONE ) and chkc :IsControler (1 - tp ) and chkc :IsFaceup () end
19- if chk == 0 then return e :GetHandler ():GetAttack ()> 0
20- and Duel .IsExistingTarget (Card .IsFaceup ,tp ,0 ,LOCATION_MZONE ,1 ,nil ) end
19+ if chk == 0 then return Duel .IsExistingTarget (Card .IsFaceup ,tp ,0 ,LOCATION_MZONE ,1 ,nil ) end
2120 Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_FACEUP )
2221 Duel .SelectTarget (tp ,Card .IsFaceup ,tp ,0 ,LOCATION_MZONE ,1 ,1 ,nil )
23- Duel .SetOperationInfo (0 ,CATEGORY_ATKCHANGE ,g ,1 ,0 ,0 )
22+ Duel .SetOperationInfo (0 ,CATEGORY_ATKCHANGE ,nil ,1 ,0 ,0 )
2423end
2524function s .atkop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2625 local tc = Duel .GetFirstTarget ()
@@ -29,7 +28,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
2928 e1 :SetType (EFFECT_TYPE_SINGLE )
3029 e1 :SetCode (EFFECT_UPDATE_ATTACK )
3130 e1 :SetValue (- 600 )
32- e1 :SetReset (RESET_EVENT + RESETS_STANDARD + RESET_PHASE + PHASE_END )
31+ e1 :SetReset (RESETS_STANDARD_PHASE_END )
3332 tc :RegisterEffect (e1 )
3433 end
35- end
34+ end
0 commit comments