Skip to content

Commit 41f4026

Browse files
committed
"Null Power Patron Realm - Vidria" fix
Fixed a bug where it would be possible to select a non-monster card to add to the hand
1 parent 0868728 commit 41f4026

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-release/c101304057.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function s.revealfilter(c,e,tp)
5151
and Duel.IsExistingMatchingCard(s.thspfilter,tp,LOCATION_DECK,0,1,nil,e,tp,c:GetCode(),Duel.GetLocationCount(tp,LOCATION_MZONE)>0)
5252
end
5353
function s.thspfilter(c,e,tp,code,mmz_chk)
54-
return c:ListsCode(code) and (c:IsAbleToHand() or (mmz_chk and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
54+
return c:ListsCode(code) and c:IsMonster() and (c:IsAbleToHand() or (mmz_chk and c:IsCanBeSpecialSummoned(e,0,tp,false,false)))
5555
end
5656
function s.thsptg(e,tp,eg,ep,ev,re,r,rp,chk)
5757
if chk==0 then return Duel.IsExistingMatchingCard(Card.IsAbleToRemove,tp,LOCATION_HAND,0,1,nil,nil,POS_FACEDOWN) end

0 commit comments

Comments
 (0)