Commit 6c193bc3 authored by Vury Leo's avatar Vury Leo

tuning 白の枢機竜

parent 0d056a5a
......@@ -8,7 +8,26 @@ function s.initial_effect(c)
Fusion.Slot.Group({
min=3,
max=3,
unique_by=function(mc) return { mc:GetCode(),mc:GetFusionCode() } end,
--- @param mc Card
unique_by=function(mc)
local function dedup_represent(code)
if code==78734254 then
return 17955766
elseif code==13857930 then
return 17732278
end
return code
end
local code=dedup_represent(mc:GetCode())
local res={code}
--- Add Fusion Tag names
for _,eff in ipairs({mc:IsHasEffect(EFFECT_ADD_FUSION_CODE)}) do
local fusion_tag_code=eff:GetValue()
assert(type(fusion_tag_code)=='number')
table.insert(res,dedup_represent(fusion_tag_code))
end
return res
end,
})
},
mat_filter=s.mat_filter,
......
......@@ -9,9 +9,25 @@ function s.initial_effect(c)
Fusion.Slot.Group({ -- 6 monsters in your GY with different names
min=6,
max=6,
filter=function(mc) return mc:IsLocation(LOCATION_GRAVE) end,
unique_by=function(tc)
return {tc:GetFusionCode()}
filter=function(mc,tc) return mc:IsLocation(LOCATION_GRAVE) end,
unique_by=function(mc)
local function dedup_represent(code)
if code==78734254 then
return 17955766
elseif code==13857930 then
return 17732278
end
return code
end
local code=dedup_represent(mc:GetCode())
local res={code}
--- Add Fusion Tag names
for _,eff in ipairs({mc:IsHasEffect(EFFECT_ADD_FUSION_CODE)}) do
local fusion_tag_code=eff:GetValue()
assert(type(fusion_tag_code)=='number')
table.insert(res,dedup_represent(fusion_tag_code))
end
return res
end,
})
}
......
This diff is collapsed.
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