Commit df860ef4 authored by 聖園ミカ's avatar 聖園ミカ 🐟

114514

parent b60b3c0c
No preview for this file type
...@@ -32,7 +32,7 @@ function cm.initial_effect(c) ...@@ -32,7 +32,7 @@ function cm.initial_effect(c)
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD) e4:SetType(EFFECT_TYPE_FIELD)
e4:SetRange(LOCATION_MZONE) e4:SetRange(LOCATION_MZONE)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CAN_FORBIDDEN)
e4:SetCode(EFFECT_DISABLE) e4:SetCode(EFFECT_DISABLE)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
...@@ -61,7 +61,7 @@ end ...@@ -61,7 +61,7 @@ end
function cm.matop(e,tp,eg,ep,ev,re,r,rp) function cm.matop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetDecktopGroup(1-tp,5) local g=Duel.GetDecktopGroup(1-tp,5)
if c:IsRelateToEffect(e) and g:GetCount()==5 then if c:IsRelateToEffect(e) and g:GetCount()==5 then
Duel.ConfirmCards(tp,g) Duel.ConfirmCards(tp,g)
local g2=g:Select(tp,1,1,nil) local g2=g:Select(tp,1,1,nil)
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
......
--D.H.P.K.-罪天使安吉拉 --D.H.P.K.-罪天使安吉拉
function c12899017.initial_effect(c) local s,id,o=GetID()
--limtcon function s.initial_effect(c)
local e1=Effect.CreateEffect(c) if not s.global_flag then
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) s.global_flag=true
e1:SetType(EFFECT_TYPE_SINGLE) --act limit
e1:SetCode(EFFECT_CANNOT_TRIGGER) local e1=Effect.CreateEffect(c)
e1:SetCondition(c12899017.limitcon) e1:SetType(EFFECT_TYPE_FIELD)
c:RegisterEffect(e1) e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetTargetRange(0xff,0xff)
e1:SetTarget(s.disable)
Duel.RegisterEffect(e1,0)
end
--spsummon --spsummon
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(12899017,0)) e2:SetDescription(aux.Stringid(12899017,0))
...@@ -16,9 +20,9 @@ function c12899017.initial_effect(c) ...@@ -16,9 +20,9 @@ function c12899017.initial_effect(c)
e2:SetRange(LOCATION_HAND) e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,12899017) e2:SetCountLimit(1,12899017)
e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END) e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_MAIN_END)
e2:SetCondition(c12899017.sumcon) e2:SetCondition(s.sumcon)
e2:SetTarget(c12899017.sumtg) e2:SetTarget(s.sumtg)
e2:SetOperation(c12899017.sumop) e2:SetOperation(s.sumop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
-- --
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
...@@ -27,79 +31,86 @@ function c12899017.initial_effect(c) ...@@ -27,79 +31,86 @@ function c12899017.initial_effect(c)
e3:SetCode(EVENT_FREE_CHAIN) e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,12899017) e3:SetCountLimit(1,12899017)
e3:SetCondition(c12899017.condition) e3:SetCondition(s.condition)
e3:SetTarget(c12899017.target) e3:SetTarget(s.target)
e3:SetOperation(c12899017.operation) e3:SetOperation(s.operation)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function c12899017.ndcfilter(c) s.limt_name_hpk=id
function s.disable(e,c)
if c.limt_name_hpk~=id then return end
local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end
function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
end end
function c12899017.limitcon(e) function s.limitcon(e)
return e:GetHandler():IsLocation(LOCATION_MZONE) return e:GetHandler():IsLocation(LOCATION_MZONE)
and Duel.IsExistingMatchingCard(c12899017.ndcfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(s.ndcfilter,e:GetHandlerPlayer(),LOCATION_MZONE,0,1,nil)
end end
function c12899017.cfilter(c) function s.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0x5a71) return c:IsFaceup() and c:IsSetCard(0x5a71)
end end
function c12899017.sumcon(e,tp,eg,ep,ev,re,r,rp) function s.sumcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(c12899017.cfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function c12899017.sumtg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sumtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>-1 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>-1
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c12899017.sumop(e,tp,eg,ep,ev,re,r,rp) function s.sumop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,c12899017.setfilter,tp,LOCATION_DECK,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SSet(tp,g:GetFirst()) Duel.SSet(tp,g:GetFirst())
end end
end end
end end
function c12899017.setfilter(c) function s.setfilter(c)
return c:IsSetCard(0x6a71) and c:IsType(TYPE_TRAP) and c:IsSSetable() return c:IsSetCard(0x6a71) and c:IsType(TYPE_TRAP) and c:IsSSetable()
end end
function c12899017.condition(e,tp,eg,ep,ev,re,r,rp) function s.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2 return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2
end end
function c12899017.filter1(c,e) function s.filter1(c,e)
return c:IsOnField() and not c:IsImmuneToEffect(e) return c:IsOnField() and not c:IsImmuneToEffect(e)
end end
function c12899017.filter2(c,e,tp,m,f,gc,chkf) function s.filter2(c,e,tp,m,f,gc,chkf)
return c:IsSetCard(0xda71) and c:IsType(TYPE_FUSION) and (not f or f(c)) return c:IsSetCard(0xda71) and c:IsType(TYPE_FUSION) and (not f or f(c))
and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,gc,chkf) and c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_FUSION,tp,false,false) and c:CheckFusionMaterial(m,gc,chkf)
end end
function c12899017.target(e,tp,eg,ep,ev,re,r,rp,chk) function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then if chk==0 then
local chkf=tp local chkf=tp
local mg1=Duel.GetFusionMaterial(tp):Filter(Card.IsOnField,nil) local mg1=Duel.GetFusionMaterial(tp):Filter(Card.IsOnField,nil)
local res=Duel.IsExistingMatchingCard(c12899017.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg1,nil,c,chkf) local res=Duel.IsExistingMatchingCard(s.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg1,nil,c,chkf)
if not res then if not res then
local ce=Duel.GetChainMaterial(tp) local ce=Duel.GetChainMaterial(tp)
if ce~=nil then if ce~=nil then
local fgroup=ce:GetTarget() local fgroup=ce:GetTarget()
local mg2=fgroup(ce,e,tp) local mg2=fgroup(ce,e,tp)
local mf=ce:GetValue() local mf=ce:GetValue()
res=Duel.IsExistingMatchingCard(c12899017.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg2,mf,c,chkf) res=Duel.IsExistingMatchingCard(s.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg2,mf,c,chkf)
end end
end end
return res return res
end end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end end
function c12899017.operation(e,tp,eg,ep,ev,re,r,rp) function s.operation(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local chkf=tp local chkf=tp
if not c:IsRelateToEffect(e) or c:IsImmuneToEffect(e) then return end if not c:IsRelateToEffect(e) or c:IsImmuneToEffect(e) then return end
local mg1=Duel.GetFusionMaterial(tp):Filter(c12899017.filter1,nil,e) local mg1=Duel.GetFusionMaterial(tp):Filter(s.filter1,nil,e)
local sg1=Duel.GetMatchingGroup(c12899017.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,c,chkf) local sg1=Duel.GetMatchingGroup(s.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,c,chkf)
local mg2=nil local mg2=nil
local sg2=nil local sg2=nil
local ce=Duel.GetChainMaterial(tp) local ce=Duel.GetChainMaterial(tp)
...@@ -107,7 +118,7 @@ function c12899017.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -107,7 +118,7 @@ function c12899017.operation(e,tp,eg,ep,ev,re,r,rp)
local fgroup=ce:GetTarget() local fgroup=ce:GetTarget()
mg2=fgroup(ce,e,tp) mg2=fgroup(ce,e,tp)
local mf=ce:GetValue() local mf=ce:GetValue()
sg2=Duel.GetMatchingGroup(c12899017.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg2,mf,c,chkf) sg2=Duel.GetMatchingGroup(s.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg2,mf,c,chkf)
end end
if sg1:GetCount()>0 or (sg2~=nil and sg2:GetCount()>0) then if sg1:GetCount()>0 or (sg2~=nil and sg2:GetCount()>0) then
local sg=sg1:Clone() local sg=sg1:Clone()
......
--D.H.P.K.-奈娜 --D.H.P.K.-奈娜
local s,id,o=GetID() local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
--act limit if not s.global_flag then
local e1=Effect.CreateEffect(c) s.global_flag=true
e1:SetType(EFFECT_TYPE_SINGLE) --act limit
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) local e1=Effect.CreateEffect(c)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(0xff) e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetCondition(s.actcon) e1:SetTargetRange(0xff,0xff)
c:RegisterEffect(e1) e1:SetTarget(s.disable)
Duel.RegisterEffect(e1,0)
end
--search --search
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(1109) e2:SetDescription(1109)
...@@ -34,9 +36,12 @@ function s.initial_effect(c) ...@@ -34,9 +36,12 @@ function s.initial_effect(c)
e3:SetOperation(s.spop) e3:SetOperation(s.spop)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function s.actcon(e) s.limt_name_hpk=id
local tp=e:GetHandlerPlayer() function s.disable(e,c)
return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil) if c.limt_name_hpk~=id then return end
local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
......
...@@ -4,22 +4,23 @@ function s.initial_effect(c) ...@@ -4,22 +4,23 @@ function s.initial_effect(c)
--Synchro summon --Synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--act limit if not s.global_flag then
local e1=Effect.CreateEffect(c) s.global_flag=true
e1:SetType(EFFECT_TYPE_SINGLE) --act limit
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) local e1=Effect.CreateEffect(c)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(0xff) e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetCondition(s.actcon) e1:SetTargetRange(0xff,0xff)
c:RegisterEffect(e1) e1:SetTarget(s.disable)
--disable Duel.RegisterEffect(e1,0)
local e2=Effect.CreateEffect(c) --disable
e2:SetType(EFFECT_TYPE_SINGLE) local e2=Effect.CreateEffect(c)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_MZONE) e2:SetTargetRange(0xff,0xff)
e2:SetCode(EFFECT_DISABLE) e2:SetTarget(s.disable)
e2:SetCondition(s.actcon) e2:SetCode(EFFECT_DISABLE)
c:RegisterEffect(e2) Duel.RegisterEffect(e2,0)
end
-- --
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,0)) e3:SetDescription(aux.Stringid(id,0))
...@@ -41,10 +42,17 @@ function s.initial_effect(c) ...@@ -41,10 +42,17 @@ function s.initial_effect(c)
e4:SetOperation(s.thop) e4:SetOperation(s.thop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
end end
s.limt_name_hpk=id
function s.actcon(e) function s.actcon(e)
local tp=e:GetHandlerPlayer() local tp=e:GetHandlerPlayer()
return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.disable(e,c)
if c.limt_name_hpk~=id then return end
local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
end end
......
...@@ -14,14 +14,6 @@ function s.initial_effect(c) ...@@ -14,14 +14,6 @@ function s.initial_effect(c)
e2:SetCode(EFFECT_SPSUMMON_CONDITION) e2:SetCode(EFFECT_SPSUMMON_CONDITION)
e2:SetValue(aux.FALSE) e2:SetValue(aux.FALSE)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--act limit
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE)
e3:SetCode(EFFECT_CANNOT_TRIGGER)
e3:SetRange(0xff)
e3:SetCondition(s.actcon)
c:RegisterEffect(e3)
--flip --flip
local e4=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e4:SetDescription(1131) e4:SetDescription(1131)
...@@ -43,10 +35,23 @@ function s.initial_effect(c) ...@@ -43,10 +35,23 @@ function s.initial_effect(c)
e5:SetTarget(s.sptg) e5:SetTarget(s.sptg)
e5:SetOperation(s.spop) e5:SetOperation(s.spop)
c:RegisterEffect(e5) c:RegisterEffect(e5)
if not s.global_flag then
s.global_flag=true
--act limit
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CANNOT_TRIGGER)
e3:SetTargetRange(0xff,0xff)
e3:SetTarget(s.disable)
Duel.RegisterEffect(e3,0)
end
end end
function s.actcon(e) s.limt_name_hpk=id
local tp=e:GetHandlerPlayer() function s.disable(e,c)
return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil) if c.limt_name_hpk~=id then return end
local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
......
...@@ -4,22 +4,23 @@ function s.initial_effect(c) ...@@ -4,22 +4,23 @@ function s.initial_effect(c)
--xyz summon --xyz summon
aux.AddXyzProcedure(c,nil,114,514,s.ovfilter,aux.Stringid(id,0),1919,s.xyzop) aux.AddXyzProcedure(c,nil,114,514,s.ovfilter,aux.Stringid(id,0),1919,s.xyzop)
c:EnableReviveLimit() c:EnableReviveLimit()
--act limit if not s.global_flag then
local e1=Effect.CreateEffect(c) s.global_flag=true
e1:SetType(EFFECT_TYPE_SINGLE) --act limit
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) local e1=Effect.CreateEffect(c)
e1:SetCode(EFFECT_CANNOT_TRIGGER) e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(0xff) e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetCondition(s.actcon) e1:SetTargetRange(0xff,0xff)
c:RegisterEffect(e1) e1:SetTarget(s.disable)
--disable Duel.RegisterEffect(e1,0)
local e2=Effect.CreateEffect(c) --disable
e2:SetType(EFFECT_TYPE_SINGLE) local e2=Effect.CreateEffect(c)
e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_MZONE) e2:SetTargetRange(0xff,0xff)
e2:SetCode(EFFECT_DISABLE) e2:SetTarget(s.disable)
e2:SetCondition(s.actcon) e2:SetCode(EFFECT_DISABLE)
c:RegisterEffect(e2) Duel.RegisterEffect(e2,0)
end
--atk --atk
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_SINGLE) e3:SetType(EFFECT_TYPE_SINGLE)
...@@ -44,12 +45,15 @@ function s.initial_effect(c) ...@@ -44,12 +45,15 @@ function s.initial_effect(c)
Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter) Duel.AddCustomActivityCounter(id,ACTIVITY_SUMMON,s.counterfilter)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter) Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end end
s.limt_name_hpk=id
function s.counterfilter(c) function s.counterfilter(c)
return c:IsSetCard(0x5a71) return c:IsSetCard(0x5a71)
end end
function s.actcon(e) function s.disable(e,c)
local tp=e:GetHandlerPlayer() if c.limt_name_hpk~=id then return end
return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil) local tp=c:GetControler()
return (c:IsType(TYPE_EFFECT) or c:GetOriginalType()&TYPE_EFFECT~=0)
and Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
end end
function s.ndcfilter(c) function s.ndcfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x5a71) return c:IsFacedown() or not c:IsSetCard(0x5a71)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment