Skip to content

Commit 6e3ed54

Browse files
committed
"Unleashed Power Patron Portal - Terminus" fix
Fixed a bug where it would be possible to send non-monster cards from the Deck to the GY with its first effect
1 parent 41f4026 commit 6e3ed54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pre-release/c101304056.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ function s.initial_effect(c)
2929
end
3030
s.listed_series={SET_POWER_PATRON}
3131
function s.tgfilter(c)
32-
return c:IsSetCard(SET_POWER_PATRON) and c:IsAbleToGrave()
32+
return c:IsSetCard(SET_POWER_PATRON) and c:IsMonster() and c:IsAbleToGrave()
3333
end
3434
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
35-
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_DECK|LOCATION_EXTRA,0,1,nil,tp,false) end
35+
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_DECK|LOCATION_EXTRA,0,1,nil) end
3636
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK|LOCATION_EXTRA)
3737
Duel.SetPossibleOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
3838
end

0 commit comments

Comments
 (0)