Commit b2fab448 authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12050006.lua

parent 1092b9d9
......@@ -24,7 +24,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
function cm.cptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_MZONE,1,nil) end
if chk==0 then return Duel.IsExistingMatchingCard(aux.TRUE,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,3,1-tp,LOCATION_ONFIELD)
end
function cm.cpop(e,tp,eg,ep,ev,re,r,rp)
......@@ -39,4 +39,4 @@ function cm.cpop(e,tp,eg,ep,ev,re,r,rp)
local tc=g:RandomSelect(tp,cc)
Duel.Destroy(tc,REASON_EFFECT)
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