Commit ff5479d5 authored by oilloillo's avatar oilloillo

fix not counting Duel.GetLocationCountFromEx

parent 6b61871e
...@@ -81,7 +81,7 @@ function M.matfilter2(c, g1, code, tp) ...@@ -81,7 +81,7 @@ function M.matfilter2(c, g1, code, tp)
local g2 = Duel.GetMatchingGroup(M.fmatcheck2, tp, LOCATION_HAND+LOCATION_MZONE, 0, nil, c, g1) local g2 = Duel.GetMatchingGroup(M.fmatcheck2, tp, LOCATION_HAND+LOCATION_MZONE, 0, nil, c, g1)
if g2:GetCount() == 0 then return false end if g2:GetCount() == 0 then return false end
g2:Merge(g1) g2:Merge(g1)
return g2:GetCount() > 1 return g2:GetCount() > 1 and Duel.GetLocationCountFromEx(tp, tp, g2, TYPE_FUSION) > 0
end end
function M.samefilter(c, g) function M.samefilter(c, g)
......
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