Commit e5b1e49e authored by wyykak's avatar wyykak

fix 34047

Signed-off-by: wyykak's avatarwyykak <wyy_1414@126.com>
parent 9aa3da41
Pipeline #40032 passed with stage
in 12 seconds
...@@ -36,11 +36,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -36,11 +36,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local tp_ct=math.min(#tp_g,Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)) local tp_ct=math.min(#tp_g,Duel.GetFieldGroupCount(tp,LOCATION_DECK,0))
local op_ct=math.min(#op_g,Duel.GetFieldGroupCount(1-tp,LOCATION_DECK,0)) local op_ct=math.min(#op_g,Duel.GetFieldGroupCount(1-tp,LOCATION_DECK,0))
local tg=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_HAND,0,1,tp_ct,nil) local tg=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_HAND,0,0,tp_ct,nil)
if #tg>0 then if #tg>0 then
Duel.SendtoDeck(tg,nil,2,REASON_EFFECT) Duel.SendtoDeck(tg,nil,2,REASON_EFFECT)
end end
local og=Duel.SelectMatchingCard(1-tp,aux.TRUE,1-tp,LOCATION_HAND,0,1,op_ct,nil) local og=Duel.SelectMatchingCard(1-tp,aux.TRUE,1-tp,LOCATION_HAND,0,0,op_ct,nil)
if #og>0 then if #og>0 then
Duel.SendtoDeck(og,nil,2,REASON_EFFECT) Duel.SendtoDeck(og,nil,2,REASON_EFFECT)
end 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