Skip to content

Commit 61fa8e7

Browse files
committed
"Magikey Mechmusket - Batosbuster" fix
Fixed a bug where it would not return cards from the hand to the deck
1 parent 5ed9083 commit 61fa8e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/c19489718.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
7373
local hg=Duel.GetFieldGroup(tp,LOCATION_HAND,0)
7474
if #hg==0 then return end
7575
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
76-
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,hg,nil)
76+
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,#hg,nil)
7777
if #g>0 and Duel.SendtoDeck(g,tp,SEQ_DECKBOTTOM,REASON_EFFECT)>0 and g:FilterCount(Card.IsLocation,LOCATION_DECK)==#g
7878
and tc and tc:IsRelateToBattle() and tc:IsFaceup() and tc:IsControler(1-tp)
7979
and not tc:IsImmuneToEffect(e) and not tc:IsStatus(STATUS_DISABLED) then
@@ -82,4 +82,4 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
8282
Duel.BreakEffect()
8383
Duel.Draw(tp,#g,REASON_EFFECT)
8484
end
85-
end
85+
end

0 commit comments

Comments
 (0)