Commit af0090e1 authored by oilloillo's avatar oilloillo

Update c999530.lua

parent 281ff302
Pipeline #12966 passed with stage
in 36 seconds
......@@ -33,7 +33,7 @@ function M.filterEx(c, e, tp, g, code)
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())
and Duel.IsExistingMatchingCard(M.RMatFilter, tp, LOCATION_HAND+LOCATION_GRAVE+LOCATION_ONFIELD, 0, 2, nil, code)
and Duel.IsExistingMatchingCard(M.RMatFilter, tp, LOCATION_HAND+LOCATION_GRAVE+LOCATION_ONFIELD, 0, 2, g:GetFirst(), code)
end
end
......@@ -62,6 +62,7 @@ function M.op(e,tp,eg,ep,ev,re,r,rp)
local mat2 = Duel.SelectMatchingCard(tp, M.filter3, tp, LOCATION_SZONE+LOCATION_DECK+LOCATION_GRAVE, 0, 1, 1, nil, e, tp, mat1, code)
if mat2:GetCount() > 0 and Duel.SpecialSummon(mat2, 0, tp, tp, false, false, POS_FACEUP) > 0 then
Duel.RaiseEvent(e:GetHandler(), EVENT_ADJUST, nil, 0, PLAYER_NONE, PLAYER_NONE, 0)
Duel.BreakEffect()
mat2 = mat2:GetFirst()
local loc = LOCATION_HAND
......
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