Commit 281ff302 authored by oilloillo's avatar oilloillo

Update c999530.lua

parent 4defaeb0
...@@ -32,8 +32,8 @@ function M.filterEx(c, e, tp, g, code) ...@@ -32,8 +32,8 @@ function M.filterEx(c, e, tp, g, code)
elseif c:IsCode(code) and c:IsLocation(LOCATION_EXTRA) and c:IsType(TYPE_FUSION) then 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) 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 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) return c:IsCanBeSpecialSummoned(e, SUMMON_TYPE_RITUAL, tp, false, true) and M.RMatFilter(g:GetFirst())
and Duel.IsExistingMatchingCard(M.RMatFilter, tp, LOCATION_HAND+LOCATION_GRAVE+LOCATION_ONFIELD, 0, 3, nil, code) and Duel.IsExistingMatchingCard(M.RMatFilter, tp, LOCATION_HAND+LOCATION_GRAVE+LOCATION_ONFIELD, 0, 2, nil, code)
end end
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