Commit 482a5485 authored by VanillaSalt's avatar VanillaSalt

Merge pull request #629 from woodee/patch-32

fix
parents e633de0f edbbfcd1
......@@ -15,6 +15,7 @@ function c49460512.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_BE_MATERIAL)
e2:SetCondition(c49460512.limitcon)
e2:SetOperation(c49460512.limitop)
c:RegisterEffect(e2)
end
......@@ -35,6 +36,9 @@ function c49460512.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)
end
end
function c49460512.limitcon(e,tp,eg,ep,ev,re,r,rp)
return r==REASON_SYNCHRO
end
function c49460512.limitop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetChainLimitTillChainEnd(c49460512.chainlm)
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