Commit 26fe9c46 authored by Vury Leo's avatar Vury Leo

filter

parent 9f9014b3
......@@ -3529,6 +3529,14 @@ function Synchro.CanCompleteSelection(candidates,target_level,tuner_race,tuner_f
prune_non_tuner_filter=aux.AND(function(c) return c:IsRace(tuner_race) end,non_tuner_filter)
end
end
if index==prune_indexes.race_prune_index+1 then
--- one time prune on selected materials
for _,selected in ipairs(selected) do
if not (prune_tuner_filter(selected) or prune_non_tuner_filter(selected)) then
return false
end
end
end
local mc=candidates[index]
local can_include=true
......
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