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

114514

parent e6cc368a
Pipeline #25687 passed with stages
in 28 minutes and 24 seconds
--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) 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)
......
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