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

vme50

parent 053cd4a9
...@@ -37,6 +37,12 @@ function cm.initial_effect(c) ...@@ -37,6 +37,12 @@ function cm.initial_effect(c)
e2:SetTarget(cm.sptg) e2:SetTarget(cm.sptg)
e2:SetOperation(cm.spop) e2:SetOperation(cm.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
--double tuner
local e9=Effect.CreateEffect(c)
e9:SetType(EFFECT_TYPE_SINGLE)
e9:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e9:SetCode(21142671)
c:RegisterEffect(e9)
end end
function cm.synfilter(c) function cm.synfilter(c)
return c:IsType(TYPE_TUNER) and c:IsAttribute(ATTRIBUTE_WIND) return c:IsType(TYPE_TUNER) and c:IsAttribute(ATTRIBUTE_WIND)
......
...@@ -34,15 +34,21 @@ function cm.initial_effect(c) ...@@ -34,15 +34,21 @@ function cm.initial_effect(c)
e3:SetTarget(cm.sumlimit) e3:SetTarget(cm.sumlimit)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--destroy --destroy
local e3=Effect.CreateEffect(c) local e4=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_DESTROY) e4:SetCategory(CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY) e4:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_DESTROYED) e4:SetCode(EVENT_DESTROYED)
e3:SetCondition(cm.descon) e4:SetCondition(cm.descon)
e3:SetTarget(cm.destg) e4:SetTarget(cm.destg)
e3:SetOperation(cm.desop) e4:SetOperation(cm.desop)
c:RegisterEffect(e3) c:RegisterEffect(e4)
--double tuner
local e9=Effect.CreateEffect(c)
e9:SetType(EFFECT_TYPE_SINGLE)
e9:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e9:SetCode(21142671)
c:RegisterEffect(e9)
end end
function cm.synfilter(c) function cm.synfilter(c)
return c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO) return c:IsType(TYPE_TUNER) and c:IsType(TYPE_SYNCHRO)
......
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