Commit ac6adab2 authored by Tachibana's avatar Tachibana

ndyd

parent e145ec77
...@@ -4,6 +4,10 @@ local cm=_G["c"..m] ...@@ -4,6 +4,10 @@ local cm=_G["c"..m]
Duel.LoadScript("c10199990.lua") Duel.LoadScript("c10199990.lua")
cm.rssetcode="yatori" cm.rssetcode="yatori"
function cm.initial_effect(c) function cm.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,cm.mfilter,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--splimit --splimit
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
...@@ -41,11 +45,14 @@ function cm.initial_effect(c) ...@@ -41,11 +45,14 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop) e2:SetOperation(cm.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
cm.halo_yatori=1 c12030002.halo_yatori=1
function cm.named_with_yatori(c) function c12030002.named_with_yatori(c)
local m=_G["c"..c:GetCode()] local m=_G["c"..c:GetCode()]
return m and m.halo_yatori return m and m.halo_yatori
end end
function cm.mfilter(c)
return c:CheckSetCard("yatori") and c:IsType(TYPE_TUNER)
end
function cm.spfilter(c) function cm.spfilter(c)
return c:CheckSetCard("yatori") return c:CheckSetCard("yatori")
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