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

114514

parent e6cc368a
Pipeline #25687 passed with stages
in 28 minutes and 24 seconds
--D.H.P.K.-奈娜
local s,id,o=GetID()
function s.initial_effect(c)
--act limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetRange(0xff)
e1:SetCondition(s.actcon)
c:RegisterEffect(e1)
if not s.global_flag then
s.global_flag=true
--act limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_TRIGGER)
e1:SetTargetRange(0xff,0xff)
e1:SetTarget(s.disable)
Duel.RegisterEffect(e1,0)
end
--search
local e2=Effect.CreateEffect(c)
e2:SetDescription(1109)
......@@ -34,9 +36,12 @@ function s.initial_effect(c)
e3:SetOperation(s.spop)
c:RegisterEffect(e3)
end
function s.actcon(e)
local tp=e:GetHandlerPlayer()
return Duel.IsExistingMatchingCard(s.ndcfilter,tp,LOCATION_MZONE,0,1,nil)
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)
......
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