Commit 5d859a4c authored by gg123gg's avatar gg123gg Committed by GitHub

Update c12010014.lua

parent 1fc78c3c
...@@ -38,7 +38,7 @@ function c12010014.cfilter(c,tc,tp) ...@@ -38,7 +38,7 @@ function c12010014.cfilter(c,tc,tp)
end end
function c12010014.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c12010014.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
if chk==0 then return Duel.GetCustomActivityCount(12010013,tp,ACTIVITY_SPSUMMON)==0 and e:GetHandler():IsReleasable() and Duel.IsExistingMatchingCard(c12010013.cfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,c,tc,tp) end if chk==0 then return Duel.GetCustomActivityCount(12010014,tp,ACTIVITY_SPSUMMON)==0 and e:GetHandler():IsReleasable() and Duel.IsExistingMatchingCard(c12010013.cfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,c,tc,tp) end
local g=Duel.SelectMatchingCard(tp,c12010013.cfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,1,c,tc,tp) local g=Duel.SelectMatchingCard(tp,c12010013.cfilter,tp,LOCATION_MZONE+LOCATION_HAND,0,1,1,c,tc,tp)
g:AddCard(c) g:AddCard(c)
Duel.Release(g,REASON_COST) Duel.Release(g,REASON_COST)
......
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