Commit 8eb4355c authored by xiaoye's avatar xiaoye

fix

parent 75e1e468
...@@ -25,14 +25,13 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp) ...@@ -25,14 +25,13 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
local sg=g:FilterSelect(tp,cm.filter,0,1,nil) local sg=g:FilterSelect(tp,cm.filter,0,1,nil)
if #sg > 0 then if #sg > 0 then
vgf.Sendto(LOCATION_HAND,sg,nil,REASON_EFFECT) vgf.Sendto(LOCATION_HAND,sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
Duel.ShuffleHand(tp)
g:RemoveCard(vgf.ReturnCard(sg)) g:RemoveCard(vgf.ReturnCard(sg))
end end
for i=1,#g do while g:GetCount()>0 do
local dg=Duel.GetDecktopGroup(tp,1) local dg=g:RandomSelect(tp,1)
Duel.MoveSequence(dg:GetFirst(),SEQ_DECKBOTTOM) Duel.MoveSequence(dg:GetFirst(),SEQ_DECKBOTTOM)
end g:Sub(dg)
end
end end
function cm.filter(c) function cm.filter(c)
return c:IsSetCard(0xb6) and c:IsLevelBelow(3) return c:IsSetCard(0xb6) and c:IsLevelBelow(3)
......
...@@ -7,7 +7,6 @@ function cm.initial_effect(c) ...@@ -7,7 +7,6 @@ function cm.initial_effect(c)
end end
function cm.con(e,tp,eg,ep,ev,re,r,rp) function cm.con(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
-- 下面这段感觉有点问题
return VgF.RMonsterCondition(e) and eg:IsExists(cm.filter,1,nil,tp,c) return VgF.RMonsterCondition(e) and eg:IsExists(cm.filter,1,nil,tp,c)
end end
function cm.op(e,tp,eg,ep,ev,re,r,rp) function cm.op(e,tp,eg,ep,ev,re,r,rp)
......
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