1+ -- ラフ・ボンバー
12-- Rough Exploder
23local s ,id = GetID ()
34function s .initial_effect (c )
4- -- destroy
5+ -- If you control an Attack Position "Fool Clown": You can banish this card from your Graveyard; inflict 500 damage to your opponent.
56 local e1 = Effect .CreateEffect (c )
67 e1 :SetDescription (aux .Stringid (69764158 ,0 ))
78 e1 :SetCategory (CATEGORY_DAMAGE )
@@ -14,12 +15,12 @@ function s.initial_effect(c)
1415 e1 :SetOperation (s .damop )
1516 c :RegisterEffect (e1 )
1617end
17- s .listed_names = {511009200 }
18- function s .cfilter (c )
19- return c :IsFaceup () and c :IsCode (511009200 )
18+ s .listed_names = {511009200 } -- "Fool Clown"
19+ function s .damconfilter (c )
20+ return c :IsFaceup () and c :IsCode (511009200 ) and c : IsAttackPos ()
2021end
2122function s .damcon (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
22- return Duel .IsExistingMatchingCard (s .cfilter ,tp ,LOCATION_ONFIELD ,0 ,1 ,nil )
23+ return Duel .IsExistingMatchingCard (s .damconfilter ,tp ,LOCATION_MZONE ,0 ,1 ,nil )
2324end
2425function s .damtg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
2526 if chk == 0 then return true end
3031function s .damop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
3132 local p ,d = Duel .GetChainInfo (0 ,CHAININFO_TARGET_PLAYER ,CHAININFO_TARGET_PARAM )
3233 Duel .Damage (p ,d ,REASON_EFFECT )
33- end
34+ end
0 commit comments