Commit 7fd5d983 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12031013.lua

parent 4fba5497
...@@ -65,7 +65,7 @@ end ...@@ -65,7 +65,7 @@ end
function cm.spcon(e,c) function cm.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
return Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_GRAVE,LOCATION_GRAVE,2,nil) return Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_GRAVE,LOCATION_GRAVE,2,nil) and Duel.GetLocationCountFromEx(tp,tp,nil,TYPE_FUSION)>0
end end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,c) function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectMatchingCard(tp,cm.spfilter,tp,LOCATION_GRAVE,LOCATION_GRAVE,2,2,nil) local g=Duel.SelectMatchingCard(tp,cm.spfilter,tp,LOCATION_GRAVE,LOCATION_GRAVE,2,2,nil)
...@@ -86,4 +86,4 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -86,4 +86,4 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if bc:IsRelateToBattle() then if bc:IsRelateToBattle() then
Duel.SendtoGrave(bc,REASON_RULE+REASON_EFFECT) Duel.SendtoGrave(bc,REASON_RULE+REASON_EFFECT)
end end
end end
\ No newline at end of file
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