@@ -32,7 +32,7 @@ function s.initial_effect(c)
3232 e2 :SetHintTiming (0 ,TIMING_STANDBY_PHASE |TIMING_MAIN_END |TIMINGS_CHECK_MONSTER_E )
3333 e2 :SetCountLimit (1 ,id )
3434 e2 :SetCondition (function (e ,tp ) return Duel .IsTurnPlayer (1 - tp ) end )
35- e2 :SetCost (s . descost )
35+ e2 :SetCost (Cost . AND ( Cost . PayLP ( 1500 ), Cost . SelfTribute ) )
3636 e2 :SetTarget (s .destg )
3737 e2 :SetOperation (s .desop )
3838 c :RegisterEffect (e2 )
@@ -43,12 +43,6 @@ function s.lpop(e,tp,eg,ep,ev,re,r,rp)
4343 Duel .Recover (tp ,300 ,REASON_EFFECT )
4444 end
4545end
46- function s .descost (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
47- local c = e :GetHandler ()
48- if chk == 0 then return Duel .CheckLPCost (tp ,1500 ) and c :IsReleasable () end
49- Duel .PayLPCost (tp ,1500 )
50- Duel .Release (c ,REASON_COST )
51- end
5246function s .destg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
5347 local g1 = Duel .GetMatchingGroup (Card .IsFaceup ,tp ,0 ,LOCATION_MZONE ,nil )
5448 local g2 = Duel .GetMatchingGroup (aux .FaceupFilter (Card .IsSpellTrap ),tp ,0 ,LOCATION_ONFIELD ,nil )
6559function s .desop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
6660 local op = e :GetLabel ()
6761 if op == 1 then
62+ -- Destroy all face-up monsters your opponent controls
6863 local g = Duel .GetMatchingGroup (Card .IsFaceup ,tp ,0 ,LOCATION_MZONE ,nil )
6964 if # g > 0 then
7065 Duel .Destroy (g ,REASON_EFFECT )
7166 end
7267 elseif op == 2 then
68+ -- Destroy all face-up Spells/Traps your opponent controls
7369 local g = Duel .GetMatchingGroup (aux .FaceupFilter (Card .IsSpellTrap ),tp ,0 ,LOCATION_ONFIELD ,nil )
7470 if # g > 0 then
7571 Duel .Destroy (g ,REASON_EFFECT )
0 commit comments