Commit 1d6e5bc2 authored by CubeRuler's avatar CubeRuler

fix

parent 192d1441
...@@ -45,11 +45,14 @@ end ...@@ -45,11 +45,14 @@ end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
local h1=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0) local h1=Duel.GetFieldGroupCount(tp,LOCATION_HAND,0)
local h2=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND) local h2=Duel.GetFieldGroupCount(tp,0,LOCATION_HAND)
local g=Duel.GetFieldGroup(tp,LOCATION_HAND,LOCATION_HAND) local tg=Duel.GetFieldGroup(tp,LOCATION_HAND,LOCATION_HAND)
Duel.SendtoDeck(g,nil,2,REASON_EFFECT) if Duel.SendtoDeck(tg,nil,2,REASON_EFFECT)~=0 then
Duel.BreakEffect() if h1>0 then Duel.ShuffleDeck(tp) end
Duel.Draw(tp,h1-1,REASON_EFFECT) if h2>0 then Duel.ShuffleDeck(1-tp) end
Duel.Draw(1-tp,h2,REASON_EFFECT) Duel.BreakEffect()
Duel.Draw(tp,h1-1,REASON_EFFECT)
Duel.Draw(1-tp,h2,REASON_EFFECT)
end
end end
function cm.regop(e,tp,eg,ep,ev,re,r,rp) function cm.regop(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