Commit b91860cb authored by TanakaKotoha's avatar TanakaKotoha

cctv

parent b1251a4b
...@@ -15,7 +15,7 @@ function cm.initial_effect(c) ...@@ -15,7 +15,7 @@ function cm.initial_effect(c)
local tp=c:GetControler() local tp=c:GetControler()
local zone=Duel.GetFieldGroup(tp,LOCATION_MZONE+LOCATION_GRAVE,0) local zone=Duel.GetFieldGroup(tp,LOCATION_MZONE+LOCATION_GRAVE,0)
local minc=2 local minc=2
local maxc=zone:GetCount() local maxc=114
if min then if min then
if min>minc then minc=min end if min>minc then minc=min end
if max<maxc then maxc=max end if max<maxc then maxc=max end
...@@ -28,8 +28,8 @@ function cm.initial_effect(c) ...@@ -28,8 +28,8 @@ function cm.initial_effect(c)
return true return true
end end
local zone=Duel.GetFieldGroup(tp,LOCATION_MZONE+LOCATION_GRAVE,0) local zone=Duel.GetFieldGroup(tp,LOCATION_MZONE+LOCATION_GRAVE,0)
local minc=minc local minc=2
local maxc=zone:GetCount() local maxc=114
if min then if min then
if min>minc then minc=min end if min>minc then minc=min end
if max<maxc then maxc=max end if max<maxc then maxc=max end
......
...@@ -68,7 +68,7 @@ end ...@@ -68,7 +68,7 @@ end
function c60152801.e3con(e,tp,eg,ep,ev,re,r,rp) function c60152801.e3con(e,tp,eg,ep,ev,re,r,rp)
local ct1=Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD+LOCATION_HAND,0) local ct1=Duel.GetFieldGroupCount(tp,LOCATION_ONFIELD+LOCATION_HAND,0)
local ct2=Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD+LOCATION_HAND) local ct2=Duel.GetFieldGroupCount(tp,0,LOCATION_ONFIELD+LOCATION_HAND)
return ct1<ct2 return ct1<ct2 and Duel.GetTurnPlayer()==tp
end end
function c60152801.e3cost(e,tp,eg,ep,ev,re,r,rp,chk) function c60152801.e3cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
......
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