Commit c1481732 authored by Tachibana's avatar Tachibana

tnndx

parent 1aeb413c
......@@ -16,13 +16,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local ac=Duel.AnnounceCard(tp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAINING)
e1:SetCode(EVENT_CHAIN_SOLVING)
e1:SetLabel(ac)
e1:SetCondition(cm.discon)
e1:SetOperation(cm.disop)
Duel.RegisterEffect(e1,tp)
end
function cm.discon(e,tp,eg,ep,ev,re,r,rp)
local ac=e:GetLabel()
return re:GetHandler():IsCode(ac)
end
function cm.disop(e,tp,eg,ep,ev,re,r,rp)
......
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