Commit b6970b7e authored by 未闻皂名's avatar 未闻皂名

2025/1/2 新增:奇迹接触

parent 3b3bfa46
Pipeline #32278 passed with stages
in 14 minutes and 54 seconds
No preview for this file type
...@@ -25,7 +25,7 @@ end ...@@ -25,7 +25,7 @@ end
function cm.condition(e,tp,eg,ep,ev,re,r,rp) function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.confilter,1,nil,1-tp) return eg:IsExists(cm.confilter,1,nil,1-tp)
end end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,1,1) cm.cost=RD.CostSendGraveToDeckBottom(cm.costfilter,1,1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk) function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
local tc=eg:GetFirst() local tc=eg:GetFirst()
......
local m=120277066
local list={120263004}
local cm=_G["c"..m]
cm.name="奇迹接触"
function cm.initial_effect(c)
--Activate
local e1=RD.CreateFusionEffect(c,cm.matfilter,cm.spfilter,cm.exfilter,LOCATION_GRAVE,0,nil,RD.FusionToDeck)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON+CATEGORY_GRAVE_ACTION)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
end
--Activate
function cm.matfilter(c)
return c:IsOnField() and c:IsAbleToDeck()
end
function cm.spfilter(c)
return aux.IsMaterialListCode(c,list[1])
end
function cm.exfilter(c)
return c:IsCanBeFusionMaterial() and c:IsAbleToDeck()
end
\ No newline at end of file
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