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