Commit 62032b2a authored by nanahira's avatar nanahira

fix

parent d6848f44
......@@ -46,6 +46,8 @@ function Auxiliary.PreloadUds()
table.insert(codes,tc:GetCode())
end
end
Duel.DisableShuffleCheck()
local needShuffle=tg:Exists(Card.IsLocation,1,nil,LOCATION_DECK)
if Duel.SendtoGrave(tg,REASON_RULE)>0 then
local og=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_GRAVE)
for oc in aux.Next(og) do
......@@ -68,6 +70,9 @@ function Auxiliary.PreloadUds()
end)
Duel.RegisterEffect(e2,tp)
end
if needShuffle then
Duel.ShuffleDeck(tp)
end
Duel.BreakEffect()
Duel.Draw(tp,1,REASON_RULE)
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