Skip to content

Commit a8d5254

Browse files
committed
"Magikey Mechmusket - Batosbuster" fix
Fixed a bug where it would not properly negat the effects of the monster it battled with nor it would make the player draw the correct number of cards
1 parent bc79b88 commit a8d5254

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

official/c19489718.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
7474
if #hg==0 then return end
7575
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
7676
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,LOCATION_HAND,0,1,#hg,nil)
77-
if #g>0 and Duel.SendtoDeck(g,tp,SEQ_DECKBOTTOM,REASON_EFFECT)>0 and g:FilterCount(Card.IsLocation,LOCATION_DECK)==#g
77+
if #g>0 and Duel.SendtoDeck(g,tp,SEQ_DECKBOTTOM,REASON_EFFECT)>0 and g:FilterCount(Card.IsLocation,nil,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
8080
--Negate its effects, then draw cards equal to the number of cards placed under the Deck

0 commit comments

Comments
 (0)