Commit de8c1305 authored by 未闻皂名's avatar 未闻皂名

2025/10/23 bug修复

parent dbc642d1
Pipeline #41225 passed with stages
in 7 minutes and 14 seconds
......@@ -200,7 +200,7 @@ function RushDuel.GetRitualSummonData(e, tp, type, matfilter, spfilter, exfilter
local mg = Duel.GetRitualMaterial(tp):Filter(RushDuel.RitualMaterialFilter, except, type, matfilter, effect)
if s_range ~= 0 or o_range ~= 0 then
local ext = Duel.GetMatchingGroup(Auxiliary.NecroValleyFilter(exfilter), tp, s_range, o_range, except, effect)
mg:Merge(ext:Filter(RushDuel.RitualMaterialFilter, nil, type))
mg:Merge(ext:Filter(RushDuel.RitualMaterialFilter, nil, type, nil, effect))
end
local gc = nil
if including_self then
......
......@@ -11,7 +11,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
function cm.ritual_mat_filter(c)
return not c:IsLocation(LOCATION_HAND) or c:IsType(TYPE_EFFECT)
return not c:IsLocation(LOCATION_HAND) or c:IsType(TYPE_NORMAL)
end
--Activate
function cm.matfilter(c)
......
......@@ -11,7 +11,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
function cm.ritual_mat_filter(c)
return not c:IsLocation(LOCATION_HAND) or c:IsType(TYPE_EFFECT)
return not c:IsLocation(LOCATION_HAND) or c:IsType(TYPE_NORMAL)
end
--Activate
function cm.matfilter(c)
......
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