Commit a350eaa3 authored by gg123gg's avatar gg123gg

Update c12070002.lua

parent 20c0305a
Pipeline #6634 passed with stages
in 33 minutes and 33 seconds
......@@ -32,10 +32,11 @@ end
function cm.spcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local mg=Duel.GetMatchingGroup(Card.IsAbleToDeckOrExtraAsCost,tp,LOCATION_REMOVED,0,nil)
return mg:GetCount()>=19 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
local mg=Duel.GetMatchingGroup(Card.IsAbleToDeckOrExtraAsCost,tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
return mg:GetCount()>19 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local mg=Duel.GetMatchingGroup(Card.IsAbleToDeckOrExtraAsCost,tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=mg:Select(tp,20,20,nil)
Duel.SendtoDeck(g,nil,2,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