Commit 1d6e5bc2 authored by CubeRuler's avatar CubeRuler

fix

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