Commit 99626039 authored by 花桃白音's avatar 花桃白音

fix --0004#07

parent 557f5264
......@@ -15,7 +15,8 @@ function cm.initial_effect(c)
local mg=Duel.GetMatchingGroup(cm.filter0,tp,LOCATION_HAND+LOCATION_ONFIELD,0,nil,e)
local res=Duel.IsExistingMatchingCard(cm.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,mg,nil,chkf)
if Duel.IsExistingMatchingCard(function(c) return c:IsCode(4204000) end,tp,LOCATION_ONFIELD,0,1,nil) then
mg:Merge(Duel.GetMatchingGroup(cm.filter0,tp,0,LOCATION_MZONE,nil,e))
mg:Merge(Duel.GetMatchingGroup(cm.filter0,tp,0,LOCATION_MZONE,nil,e)
:Filter(Card.IsFaceup,nil))
end
if not res then
local ce=Duel.GetChainMaterial(tp)
......@@ -42,7 +43,8 @@ function cm.initial_effect(c)
local chkf=tp
local mg1=Duel.GetFusionMaterial(tp):Filter(cm.filter1,nil,e)
if Duel.IsExistingMatchingCard(function(c) return c:IsCode(4204000) end,tp,LOCATION_ONFIELD,0,1,nil) then
mg1:Merge(Duel.GetMatchingGroup(cm.filter0,tp,0,LOCATION_MZONE,nil,e))
mg1:Merge(Duel.GetMatchingGroup(cm.filter0,tp,0,LOCATION_MZONE,nil,e)
:Filter(Card.IsFaceup,nil))
end
local sg1=Duel.GetMatchingGroup(cm.filter2,tp,LOCATION_EXTRA,0,nil,e,tp,mg1,nil,chkf)
local mg3=nil
......
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