Commit f3fa9c6c authored by TanakaKotoha's avatar TanakaKotoha

wdnmd

parent 3cb5edfa
......@@ -4,7 +4,7 @@ local cm = _G["c"..m]
function cm.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep2(c,cm.ffilter,2,63,true)
aux.AddFusionProcFunFunRep(c,aux.FilterBoolFunction(Card.IsFusionType,TYPE_TUNER),cm.tfilter,1,99,true,true)
--cannot spsummon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -52,10 +52,6 @@ function cm.initial_effect(c)
e5:SetOperation(cm.thop)
c:RegisterEffect(e5)
end
function cm.ffilter(c,fc,sub,mg,sg)
if not sg or #sg == 1 then return true end
return sg:IsExists(Card.IsFusionType,1,nil,TYPE_TUNER) and sg:IsExists(cm.tfilter,1,nil)
end
function cm.tfilter(c)
return not c:IsFusionType(TYPE_TUNER)
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