Commit 9563bccf authored by wind2009's avatar wind2009

Fix ライトロード・デーモン ヴァイス

Add ConfirmCard
parent 1cc8a21d
...@@ -31,7 +31,9 @@ end ...@@ -31,7 +31,9 @@ end
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk) function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local cg=Duel.GetMatchingGroup(s.cfilter,tp,LOCATION_HAND,0,e:GetHandler()) local cg=Duel.GetMatchingGroup(s.cfilter,tp,LOCATION_HAND,0,e:GetHandler())
if chk==0 then return cg:GetCount()>0 end if chk==0 then return cg:GetCount()>0 end
Duel.SendtoDeck(cg:Select(tp,1,1,nil),nil,SEQ_DECKTOP,REASON_COST) local g=cg:Select(tp,1,1,nil)
Duel.ConfirmCards(1-tp,g)
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_COST)
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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