Skip to content

Commit 04f0f8d

Browse files
authored
"Marshmao☆Yummy" fix
Fixed a bug where it would be able to place on the field a "Yummy" card that was banished face-down
1 parent ca1c189 commit 04f0f8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/c10966439.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ function s.thfilter(c)
5353
end
5454
function s.plfilter(c,tp,szone_chk)
5555
return c:IsSetCard(SET_YUMMY) and (c:IsFieldSpell() or (szone_chk and c:IsContinuousSpellTrap()))
56-
and not c:IsForbidden() and c:CheckUniqueOnField(tp)
56+
and (c:IsFaceup() or c:IsLocation(LOCATION_DECK)) and not c:IsForbidden() and c:CheckUniqueOnField(tp)
5757
end
5858
function s.thpltg(e,tp,eg,ep,ev,re,r,rp,chk)
5959
local sp_chk=re and e:GetHandler():IsSpecialSummoned() and re:IsMonsterEffect() and re:GetHandler():IsOriginalType(TYPE_SYNCHRO)
@@ -88,4 +88,4 @@ function s.thplop(e,tp,eg,ep,ev,re,r,rp)
8888
local place_location=sc:IsFieldSpell() and LOCATION_FZONE or LOCATION_SZONE
8989
Duel.MoveToField(sc,tp,tp,place_location,POS_FACEUP,true)
9090
end
91-
end
91+
end

0 commit comments

Comments
 (0)