Commit 282fa7b1 authored by DailyShana's avatar DailyShana

update Duel.SelectDisableField

parent c9d1b741
...@@ -38,7 +38,7 @@ function c40669071.lztg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -38,7 +38,7 @@ function c40669071.lztg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return ct>0 if chk==0 then return ct>0
and Duel.GetLocationCount(tp,LOCATION_MZONE,PLAYER_NONE,0) and Duel.GetLocationCount(tp,LOCATION_MZONE,PLAYER_NONE,0)
+Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)>ct end +Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)>ct end
local dis=Duel.SelectDisableField(tp,ct,LOCATION_MZONE,LOCATION_MZONE,0) local dis=Duel.SelectDisableField(tp,ct,LOCATION_MZONE,LOCATION_MZONE,0xe000e0)
e:SetLabel(dis) e:SetLabel(dis)
end end
function c40669071.lzop(e,tp,eg,ep,ev,re,r,rp) function c40669071.lzop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -54,7 +54,7 @@ function c53244294.ztg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -54,7 +54,7 @@ function c53244294.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0) +Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)
+Duel.GetLocationCount(tp,LOCATION_SZONE,PLAYER_NONE,0) +Duel.GetLocationCount(tp,LOCATION_SZONE,PLAYER_NONE,0)
+Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end +Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end
local dis=Duel.SelectDisableField(tp,1,LOCATION_ONFIELD,LOCATION_ONFIELD,0) local dis=Duel.SelectDisableField(tp,1,LOCATION_ONFIELD,LOCATION_ONFIELD,0xe000e0)
e:SetLabel(dis) e:SetLabel(dis)
end end
function c53244294.zop(e,tp,eg,ep,ev,re,r,rp) function c53244294.zop(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -18,7 +18,7 @@ end ...@@ -18,7 +18,7 @@ end
function c90502999.target(e,tp,eg,ep,ev,re,r,rp,chk) function c90502999.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE,PLAYER_NONE,0) if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE,PLAYER_NONE,0)
+Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)>1 end +Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)>1 end
local dis=Duel.SelectDisableField(tp,2,LOCATION_MZONE,LOCATION_MZONE,0) local dis=Duel.SelectDisableField(tp,2,LOCATION_MZONE,LOCATION_MZONE,0xe000e0)
e:SetLabel(dis) e:SetLabel(dis)
end end
function c90502999.disop(e,tp) function c90502999.disop(e,tp)
......
...@@ -21,6 +21,6 @@ function c92065772.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -21,6 +21,6 @@ function c92065772.operation(e,tp,eg,ep,ev,re,r,rp)
e:GetHandler():RegisterEffect(e1) e:GetHandler():RegisterEffect(e1)
end end
function c92065772.disop(e,tp) function c92065772.disop(e,tp)
local dis1=Duel.SelectDisableField(tp,1,LOCATION_MZONE,LOCATION_MZONE,0) local dis1=Duel.SelectDisableField(tp,1,LOCATION_MZONE,LOCATION_MZONE,0xe000e0)
return dis1 return dis1
end end
...@@ -45,7 +45,7 @@ function c97466438.ztg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -45,7 +45,7 @@ function c97466438.ztg(e,tp,eg,ep,ev,re,r,rp,chk)
+Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0) +Duel.GetLocationCount(1-tp,LOCATION_MZONE,PLAYER_NONE,0)
+Duel.GetLocationCount(tp,LOCATION_SZONE,PLAYER_NONE,0) +Duel.GetLocationCount(tp,LOCATION_SZONE,PLAYER_NONE,0)
+Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end +Duel.GetLocationCount(1-tp,LOCATION_SZONE,PLAYER_NONE,0)>0 end
local dis=Duel.SelectDisableField(tp,1,LOCATION_MZONE+LOCATION_SZONE,LOCATION_MZONE+LOCATION_SZONE,0) local dis=Duel.SelectDisableField(tp,1,LOCATION_ONFIELD,LOCATION_ONFIELD,0xe000e0)
e:SetLabel(dis) e:SetLabel(dis)
end end
function c97466438.zop(e,tp,eg,ep,ev,re,r,rp) function c97466438.zop(e,tp,eg,ep,ev,re,r,rp)
......
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