Commit bfc3e75b authored by mercury233's avatar mercury233

fix 閃刀機関-マルチロール

parent 6cfea5b9
...@@ -98,7 +98,7 @@ function c24010609.settg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -98,7 +98,7 @@ function c24010609.settg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c24010609.gselect(g,ft) function c24010609.gselect(g,ft)
local fc=g:FilterCount(Card.IsType,nil,TYPE_FIELD) local fc=g:FilterCount(Card.IsType,nil,TYPE_FIELD)
return fc<=1 and aux.dncheck(g) and #g-fc<ft return fc<=1 and aux.dncheck(g) and #g-fc<=ft
end end
function c24010609.setop(e,tp,eg,ep,ev,re,r,rp) function c24010609.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -32,7 +32,7 @@ function c6713443.sfilter(c) ...@@ -32,7 +32,7 @@ function c6713443.sfilter(c)
end end
function c6713443.fselect(g,ft) function c6713443.fselect(g,ft)
local fc=g:FilterCount(Card.IsType,nil,TYPE_FIELD) local fc=g:FilterCount(Card.IsType,nil,TYPE_FIELD)
return fc<=1 and #g-fc<ft return fc<=1 and #g-fc<=ft
end end
function c6713443.spop(e,tp,eg,ep,ev,re,r,rp) function c6713443.spop(e,tp,eg,ep,ev,re,r,rp)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
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