Skip to content

Commit afe04af

Browse files
committed
fixed Dark Hole Device
1 parent 7cac197 commit afe04af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rush/c160014050.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function s.thfilter(c)
4444
end
4545
function s.activate(e,tp,eg,ep,ev,re,r,rp)
4646
--Requirement
47-
if not Duel.IsExistingMatchingCard(s.confilter,tp,LOCATION_MZONE,0,1,nil) then
47+
if not Duel.IsExistingMatchingCard(s.confilter,tp,LOCATION_MZONE,0,1,nil) or Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
4848
if Duel.DiscardHand(tp,s.cfilter,3,3,REASON_COST+REASON_DISCARD,nil)<3 then return end
4949
end
5050
--Effect
@@ -54,7 +54,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
5454
if ct>0 and #g>0 and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
5555
Duel.BreakEffect()
5656
local sg=g:Select(tp,1,1,nil)
57-
Duel.HintSelection(sg,true)
5857
Duel.SendtoHand(sg,nil,REASON_EFFECT)
5958
end
6059
end

0 commit comments

Comments
 (0)