Commit 98f8d875 authored by TanakaKotoha's avatar TanakaKotoha

dededededededededededede

parent 27c62858
No preview for this file type
......@@ -28,7 +28,7 @@ function cm.splimit(e,c,tp,sumtp,sumpos)
end
--e3
function cm.tefilter(c)
return c:IsType(TYPE_PENDULUM) and c:IsSetCard(0xcc3) and not c:IsCode(m+4) and c:IsAbleToHand()
return c:IsSetCard(0xcc3) and not c:IsCode(m+4) and c:IsAbleToHand()
end
function cm.tetg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tefilter,tp,LOCATION_DECK,0,1,nil) end
......@@ -63,10 +63,8 @@ function cm.teop(e,tp,eg,ep,ev,re,r,rp)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(1,0)
e3:SetTarget(cm.splimit0)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
local e4=e3:Clone()
e4:SetCode(EFFECT_CANNOT_SUMMON)
Duel.RegisterEffect(e4,tp)
end
function cm.distg(e,c)
local sc=e:GetLabelObject()
......
......@@ -49,6 +49,7 @@ function cm.teop(e,tp,eg,ep,ev,re,r,rp)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetTargetRange(1,0)
e3:SetTarget(cm.splimit0)
e3:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e3,tp)
end
function cm.splimit0(e,c,sump,sumtype,sumpos,targetp,se)
......
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