Skip to content

Commit 29cad77

Browse files
committed
"Junora the Power Patron of Tuning" fix
Fixed a bug where it would also consider "Elvennotes" Spell/Trap cards for its effect, when it should only count monsters
1 parent 55f8a89 commit 29cad77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pre-release/c101303039.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function s.cannotmatfilter(c,tp)
5151
return c:GetColumnGroup():IsExists(s.elvennotesfilter,1,nil,tp)
5252
end
5353
function s.elvennotesfilter(c,tp)
54-
return c:IsSetCard(SET_ELVENNOTES) and c:IsFaceup() and c:IsControler(tp)
54+
return c:IsSetCard(SET_ELVENNOTES) and c:IsMonster() and c:IsFaceup() and c:IsControler(tp)
5555
end
5656
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
5757
if chk==0 then return Duel.IsExistingMatchingCard(s.cannotmatfilter,tp,0,LOCATION_MZONE,1,nil,tp) end

0 commit comments

Comments
 (0)