Commit 113b0a61 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c18700136.lua

parent 4e0576ea
......@@ -46,7 +46,7 @@ function cm.filter2(c)
return c:IsSetCard(0x822) and not c:IsPublic()
end
function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chk==0 then return Duel.IsPlayerCanDraw(tp,g1:GetCount()) and Duel.IsExistingMatchingCard(nil,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil) end
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.IsExistingMatchingCard(nil,tp,LOCATION_HAND+LOCATION_DECK,0,1,nil) end
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local g1=Duel.SelectMatchingCard(tp,cm.filter2,tp,LOCATION_HAND+LOCATION_DECK,0,1,8,nil,tp)
......
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