Commit 91143cdb authored by nanahira's avatar nanahira

fix

parent ab885a8b
......@@ -50,7 +50,7 @@ function cm.initial_effect(c)
end
local function synchro_tg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
if Duel.GetLocationCountFromEx(tp)<=0 then return false end
if Duel.GetLocationCountFromEx(tp,tp,nil,TYPE_FUSION)<=0 then return false end
local mg=Duel.GetMatchingGroup(s_mat_filter,tp,LOCATION_GRAVE,0,nil)
local sg=Duel.GetMatchingGroup(s_fus_filter,tp,LOCATION_EXTRA,0,nil,e,tp)
return Senya.CheckGroup(mg,s_group_check,nil,2,2,sg)
......@@ -247,4 +247,4 @@ function cm.MaterialCheck(t,ex)
return c:IsType(t)
end,1,nil) and (not ex or ex(e,...))
end
end
\ No newline at end of file
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