Commit 07c0491d authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 9a5ea503
......@@ -63,11 +63,12 @@ function cm.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x559)
end
function cm.con1(e,tp,eg,ep,ev,re,r,rp)
local n=Duel.GetCurrentChain()
local n=Duel.GetCurrentChain()
local p=e:GetHandlerPlayer()
local flag=1
if n>=1 then flag=0
if n<=1 then flag=0
end
return flag==0 and Duel.GetTurnPlayer()==e:GetHandlerPlayer() and not Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_MZONE,0,1,nil)
return flag==0 and Duel.GetTurnPlayer()==e:GetHandlerPlayer() and not Duel.IsExistingMatchingCard(cm.cfilter,p,LOCATION_MZONE,0,1,nil)
end
--SpecialSummon
function cm.spcfilter(c,ft)
......
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