Skip to content

Commit 2b2e7c9

Browse files
committed
fixed Galactic Chaos Enforcer
1 parent 39169d8 commit 2b2e7c9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rush/c160020005.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
3333
local td=aux.SelectUnselectGroup(g,e,tp,2,2,s.rescon,1,tp,HINTMSG_TODECK)
3434
Duel.HintSelection(td)
3535
if Duel.SendtoDeck(td,nil,SEQ_DECKBOTTOM,REASON_COST)<=0 then return end
36-
Duel.SortDeckbottom(tp,tp,#td)
36+
local g2=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_DECK)
37+
if #g2>1 then
38+
Duel.SortDeckbottom(tp,tp,#g2)
39+
end
3740
--Effect
3841
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
3942
local g=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)

0 commit comments

Comments
 (0)