1- -- N・アクア・ドルフィン
1+ -- N・アクア・ドルフィン (Anime)
22-- Neo Spacian Aqua Dolphin (Anime)
3- -- By Astral
3+ -- Scripted by Astral
44local s ,id = GetID ()
55function s .initial_effect (c )
66 -- Activate
77 local e1 = Effect .CreateEffect (c )
88 e1 :SetDescription (aux .Stringid (17955766 ,0 ))
99 e1 :SetType (EFFECT_TYPE_IGNITION )
1010 e1 :SetRange (LOCATION_MZONE )
11- e1 :SetCost (s . cost )
11+ e1 :SetCost (Cost . Discard )
1212 e1 :SetTarget (s .target )
1313 e1 :SetOperation (s .activate )
1414 c :RegisterEffect (e1 )
1515end
16- function s .cost (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
17- if chk == 0 then return Duel .IsExistingMatchingCard (Card .IsDiscardable ,tp ,LOCATION_HAND ,0 ,1 ,nil ) end
18- Duel .DiscardHand (tp ,Card .IsDiscardable ,1 ,1 ,REASON_COST + REASON_DISCARD )
19- end
2016function s .target (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
2117 if chk == 0 then return Duel .GetFieldGroupCount (tp ,0 ,LOCATION_HAND )> 0 end
2218end
23- function s .filter (c ,atk )
24- return c :IsFaceup () and c :IsAttackAbove (atk )
25- end
2619function s .activate (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
2720 local g = Duel .GetFieldGroup (tp ,0 ,LOCATION_HAND )
2821 if # g > 0 then
2922 Duel .ConfirmCards (tp ,g )
30- Duel .Hint (HINT_SELECTMSG ,tp ,aux . Stringid ( 17955766 , 1 ) )
23+ Duel .Hint (HINT_SELECTMSG ,tp ,HINTMSG_OPPO )
3124 local tg = g :FilterSelect (tp ,Card .IsMonster ,1 ,1 ,nil )
3225 local tc = tg :GetFirst ()
3326 if tc then
3427 local atk = tc :GetAttack ()
35- if atk >= 0 and Duel .IsExistingMatchingCard (s . filter , tp ,LOCATION_MZONE ,0 ,1 ,nil , atk ) then
28+ if tc : IsAttackAbove ( 0 ) and Duel .IsExistingMatchingCard (aux . FaceupFilter ( Card . IsAttackAbove , atk ), tp ,LOCATION_MZONE ,0 ,1 ,nil ) then
3629 Duel .Destroy (tc ,REASON_EFFECT )
3730 Duel .Damage (1 - tp ,500 ,REASON_EFFECT )
3831 else
@@ -41,4 +34,4 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
4134 end
4235 Duel .ShuffleHand (1 - tp )
4336 end
44- end
37+ end
0 commit comments