Commit 4ab0022a authored by Vury Leo's avatar Vury Leo

init Dogmatikalamity

parent bd9a5a7f
...@@ -4,6 +4,19 @@ function s.initial_effect(c) ...@@ -4,6 +4,19 @@ function s.initial_effect(c)
aux.AddCodeList(c,68468459) aux.AddCodeList(c,68468459)
aux.AddMaterialCodeList(c,68468459) aux.AddMaterialCodeList(c,68468459)
--aux.AddFusionProcCodeFun(c,68468459,s.mfilter,6,true,true) --aux.AddFusionProcCodeFun(c,68468459,s.mfilter,6,true,true)
Fusion.AddFusionProcedure(c,{
slots={
Fusion.Slot.Code(68468459), -- Fallen of Albaz
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:GetNameList()
end,
})
}
})
c:EnableReviveLimit() c:EnableReviveLimit()
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE) e0:SetType(EFFECT_TYPE_SINGLE)
......
...@@ -3634,7 +3634,7 @@ function Fusion.Slot.Filter(filter) ...@@ -3634,7 +3634,7 @@ function Fusion.Slot.Filter(filter)
end end
--- Group slot (multi-card) --- Group slot (multi-card)
---@param opts {min:number,max?:number,filter?:fun(mc:Card):boolean } ---@param opts {min?:number,max?:number,filter?:fun(mc:Card):boolean}
---@return table ---@return table
function Fusion.Slot.Group(opts) function Fusion.Slot.Group(opts)
opts.min=opts.min or 1 opts.min=opts.min or 1
......
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