Commit a76b8dc5 authored by Tachibana's avatar Tachibana 🐟

pic

parent 76920559
......@@ -2,6 +2,7 @@
local m=17243415
local cm=_G["c"..m]
function cm.initial_effect(c)
c:SetSPSummonOnce(m)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,cm.matfilter,2,true)
......
......@@ -31,7 +31,6 @@ function s.initial_effect(c)
e3:SetCode(EVENT_CHAINING)
e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,id+20000)
e3:SetCondition(s.chcon)
e3:SetTarget(s.chtg)
e3:SetOperation(s.chop)
c:RegisterEffect(e3)
......@@ -89,11 +88,6 @@ end
function s.dsfilter(c)
return c:IsType(TYPE_PENDULUM) and c:IsFaceup()
end
function s.chcon(e,tp,eg,ep,ev,re,r,rp)
local rep=re:GetOperation()
if not rep then return true end
return (re:IsActiveType(TYPE_SPELL) or re:IsActiveType(TYPE_TRAP))
end
function s.chtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.dsfilter,rp,0,LOCATION_ONFIELD,1,nil) end
end
......
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