Commit cf00ca85 authored by POLYMER's avatar POLYMER

fix

parent fc9d7885
...@@ -25,10 +25,11 @@ end ...@@ -25,10 +25,11 @@ end
function c189120.cfilter(c) function c189120.cfilter(c)
return c:IsFacedown() or not c:IsSetCard(0x180) return c:IsFacedown() or not c:IsSetCard(0x180)
end end
function c189120.spcon(e,c) function c189120.spcon(e,c,minc)
if c==nil then return true end if c==nil then return true end
return Duel.GetLocationCount(c:GetControler(),LOCATION_MZONE)>0 local tp=c:GetControler()
and not Duel.IsExistingMatchingCard(c189120.cfilter,tp,LOCATION_MZONE,0,1,nil) return minc==0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and (Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0 or not Duel.IsExistingMatchingCard(c189120.cfilter,tp,LOCATION_MZONE,0,1,nil))
end end
function c189120.tspcon(e,tp,eg,ep,ev,re,r,rp) function c189120.tspcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2 return Duel.GetCurrentPhase()==PHASE_MAIN1 or Duel.GetCurrentPhase()==PHASE_MAIN2
...@@ -50,18 +51,3 @@ function c189120.tspop(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,18 +51,3 @@ function c189120.tspop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
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