22-- Doom Virus Dragon (Anime)
33local s ,id = GetID ()
44function s .initial_effect (c )
5- -- fusion material
65 c :EnableReviveLimit ()
6+ -- Fusion Materials: "Crush Card Virus" + "The Fang of Critias"
77 Fusion .AddProcMix (c ,true ,true ,57728570 ,11082056 )
88 -- Destroy all monsters your opponent controls with 1500 or more ATK
99 local e1 = Effect .CreateEffect (c )
2828function s .fdchkfilter (c )
2929 return c :IsFacedown () and c :IsAttackAbove (1500 ) and c :IsDestructable ()
3030end
31- function s .desop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
31+ function s .desop (e )
32+ local tp = e :GetHandlerPlayer ()
3233 local g = Duel .GetMatchingGroup (s .desfilter ,tp ,0 ,LOCATION_MZONE ,nil )
3334 local conf = Duel .GetMatchingGroup (s .fdchkfilter ,tp ,0 ,LOCATION_MZONE ,nil )
3435 if # conf > 0 then
@@ -37,9 +38,10 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
3738 end
3839 Duel .Destroy (g ,REASON_EFFECT )
3940end
40- function s .fdchkop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
41+ function s .fdchkop (e )
42+ local tp = e :GetHandlerPlayer ()
4143 local conf = Duel .GetFieldGroup (tp ,0 ,LOCATION_MZONE ,POS_FACEDOWN )
4244 if # conf > 0 then
4345 Duel .ConfirmCards (tp ,conf )
4446 end
45- end
47+ end
0 commit comments