Commit ff5479d5 authored by oilloillo's avatar oilloillo

fix not counting Duel.GetLocationCountFromEx

parent 6b61871e
Pipeline #8428 passed with stage
in 26 seconds
......@@ -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)
if g2:GetCount() == 0 then return false end
g2:Merge(g1)
return g2:GetCount() > 1
return g2:GetCount() > 1 and Duel.GetLocationCountFromEx(tp, tp, g2, TYPE_FUSION) > 0
end
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