Commit 07c0491d authored by TanakaKotoha's avatar TanakaKotoha

fix

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