Commit edbbfcd1 authored by woodee's avatar woodee

fix

becoming xyz material should not enable limit
parent ba1ad280
...@@ -15,6 +15,7 @@ function c49460512.initial_effect(c) ...@@ -15,6 +15,7 @@ function c49460512.initial_effect(c)
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_BE_MATERIAL) e2:SetCode(EVENT_BE_MATERIAL)
e2:SetCondition(c49460512.limitcon)
e2:SetOperation(c49460512.limitop) e2:SetOperation(c49460512.limitop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
...@@ -35,6 +36,9 @@ function c49460512.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -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) Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)
end end
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) function c49460512.limitop(e,tp,eg,ep,ev,re,r,rp)
Duel.SetChainLimitTillChainEnd(c49460512.chainlm) Duel.SetChainLimitTillChainEnd(c49460512.chainlm)
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