Commit d0b305f9 authored by HidarimeYume's avatar HidarimeYume Committed by mercury233

fix 24010609 (#1076)

parent f8f9d353
...@@ -107,6 +107,7 @@ function c24010609.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -107,6 +107,7 @@ function c24010609.setop(e,tp,eg,ep,ev,re,r,rp)
local init=1 local init=1
if g:IsExists(Card.IsType,1,nil,TYPE_FIELD) then field=true end if g:IsExists(Card.IsType,1,nil,TYPE_FIELD) then field=true end
while ct>0 and (ft>0 or field) and g:GetCount()>0 do while ct>0 and (ft>0 or field) and g:GetCount()>0 do
if ft==0 then g=g:Filter(Card.IsType,nil,TYPE_FIELD) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(tp,init,1,nil) local sg=g:Select(tp,init,1,nil)
if sg:GetCount()>0 then if sg:GetCount()>0 then
......
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