Commit 83b36a20 authored by wyykak's avatar wyykak

fix 999530

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent af0090e1
......@@ -22,7 +22,7 @@ function M.filter2(c, e, tp)
end
function M.filter3(c, e, tp, mat1, code)
return c:IsCanBeSpecialSummoned(e, SUMMON_TYPE_XYZ, tp, false, false) and c:IsCode(code)
return c:IsCanBeSpecialSummoned(e, 0, tp, false, false) and c:IsCode(code)
and Duel.IsExistingMatchingCard(M.filterEx, tp, LOCATION_EXTRA+LOCATION_HAND, 0, 1, nil, e, tp, Group.FromCards(c, mat1), code)
end
......@@ -32,7 +32,7 @@ function M.filterEx(c, e, tp, g, code)
elseif c:IsCode(code) and c:IsLocation(LOCATION_EXTRA) and c:IsType(TYPE_FUSION) then
return c:IsCanBeSpecialSummoned(e, SUMMON_TYPE_FUSION, tp, false, false) and c:CheckFusionMaterial(g, nil, tp)
elseif c:IsLocation(LOCATION_HAND) and c:IsType(TYPE_RITUAL) and c:IsSetCard(0x999) then
return c:IsCanBeSpecialSummoned(e, SUMMON_TYPE_RITUAL, tp, false, true) and M.RMatFilter(g:GetFirst())
return c:IsCanBeSpecialSummoned(e, SUMMON_TYPE_RITUAL, tp, false, true) and M.RMatFilter(g:GetFirst(), code)
and Duel.IsExistingMatchingCard(M.RMatFilter, tp, LOCATION_HAND+LOCATION_GRAVE+LOCATION_ONFIELD, 0, 2, g:GetFirst(), code)
end
end
......
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