Skip to content

Commit ece01b9

Browse files
authored
"Power Patron Shadow Machine Zegredo" fix
Fixed a bug where it could destroy with ita pendulum effect any "Power Patron" or "DoomZ" card, not just monsters
1 parent bd55bdd commit ece01b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pre-release/c101304012.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ end
4141
s.listed_names={68231287} --"Jupiter the Power Patron of Destruction"
4242
s.listed_series={SET_POWER_PATRON,SET_DOOMZ}
4343
function s.pdesfilter(c)
44-
return c:IsSetCard({SET_POWER_PATRON,SET_DOOMZ}) and (c:IsFaceup() or c:IsLocation(LOCATION_HAND))
44+
return c:IsSetCard({SET_POWER_PATRON,SET_DOOMZ}) and (c:IsFaceup() or c:IsLocation(LOCATION_HAND)) and c:IsMonster()
4545
end
4646
function s.pdestg(e,tp,eg,ep,ev,re,r,rp,chk)
4747
if chk==0 then return Duel.IsExistingMatchingCard(s.pdesfilter,tp,LOCATION_MZONE|LOCATION_HAND,0,1,nil) end
@@ -140,4 +140,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
140140
Duel.SendtoHand(g,nil,REASON_EFFECT)
141141
Duel.ConfirmCards(1-tp,g)
142142
end
143-
end
143+
end

0 commit comments

Comments
 (0)