Commit 1fc78c3c authored by TanakaKotoha's avatar TanakaKotoha

cindy

parent cf944fb4
No preview for this file type
...@@ -12,10 +12,10 @@ function c33400012.initial_effect(c) ...@@ -12,10 +12,10 @@ function c33400012.initial_effect(c)
c:RegisterEffect(e0) c:RegisterEffect(e0)
--ChainLimit --ChainLimit
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(33400012,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetOperation(c33400012.tgop) e1:SetOperation(c33400012.chainop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
--activate from hand --activate from hand
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
...@@ -61,16 +61,8 @@ end ...@@ -61,16 +61,8 @@ end
function c33400012.afilter(c) function c33400012.afilter(c)
return c:IsSetCard(0x3340) and c:IsType(TYPE_QUICKPLAY) return c:IsSetCard(0x3340) and c:IsType(TYPE_QUICKPLAY)
end end
function c33400012.tgop(e,tp,eg,ep,ev,re,r,rp) function c33400012.chainop(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler()) if re:GetHandler():IsSetCard(0x3340) and re:GetHandler():IsType(TYPE_QUICKPLAY) and ep==tp then
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAINING)
e1:SetOperation(c33400012.actop)
Duel.RegisterEffect(e1,tp)
end
function c33400012.actop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
if re:IsHasType(EFFECT_TYPE_ACTIVATE) and re:IsActiveType(TYPE_QUICKPLAY) and re:GetHandler():IsSetCard(0x3340) then
Duel.SetChainLimit(c33400012.chainlm) Duel.SetChainLimit(c33400012.chainlm)
end end
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