Commit 7133d099 authored by wind2009's avatar wind2009

Fix 糾罪巧-裁誕

parent 39fad0cc
Pipeline #40193 failed with stages
in 1 minute and 16 seconds
No preview for this file type
...@@ -52,9 +52,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,9 +52,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ConfirmCards(1-p,hg) Duel.ConfirmCards(1-p,hg)
end end
local ct=Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) local ct=Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
Duel.ShuffleDeck(p)
local rt=g:FilterCount(Card.IsLocation,nil,LOCATION_DECK+LOCATION_EXTRA) local rt=g:FilterCount(Card.IsLocation,nil,LOCATION_DECK+LOCATION_EXTRA)
if rt>0 then if rt>0 then
if g:FilterCount(function(c) return c:IsLocation(LOCATION_DECK) and c:IsControler(p) end,nil)>0 then
Duel.ShuffleDeck(p)
end
if g:FilterCount(function(c) return c:IsLocation(LOCATION_DECK) and c:IsControler(1-p) end,nil)>0 then
Duel.ShuffleDeck(1-p)
end
Duel.BreakEffect() Duel.BreakEffect()
Duel.Draw(p,rt,REASON_EFFECT) Duel.Draw(p,rt,REASON_EFFECT)
end 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