Commit e571aa6b authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 1c7b2f39
......@@ -52,11 +52,14 @@ function c50221430.initial_effect(c)
e5:SetLabelObject(e4)
c:RegisterEffect(e5)
end
function c50221430.ffilter(c,fc)
return c:IsSetCard(0xcb5) and c:IsCanBeFusionMaterial(fc)
end
function c50221430.fscondition()
return function(e,g,gc,chkf)
if g==nil then return aux.MustMaterialCheck(nil,e:GetHandlerPlayer(),EFFECT_MUST_BE_FMATERIAL) end
local c=e:GetHandler()
local mg=g:Filter(Card.IsCanBeFusionMaterial,nil,c)
local mg=g:Filter(c50221430.ffilter,nil,c)
local tp=e:GetHandlerPlayer()
return mg:GetClassCount(Card.GetFusionAttribute)>=2
end
......@@ -68,7 +71,7 @@ end
function c50221430.fsoperation()
return function(e,tp,eg,ep,ev,re,r,rp,gc,chkf)
local c=e:GetHandler()
local mg=eg:Filter(Card.IsCanBeFusionMaterial,nil,c)
local mg=eg:Filter(c50221430.ffilter,nil,c)
if mg:GetClassCount(Card.GetFusionAttribute)<2 then return end
local sg=Group.CreateGroup()
if gc then sg:AddCard(gc) end
......
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