Skip to content

Commit a3e9304

Browse files
authored
"Verre Magic - Lacrima of Light" fix
Should be able to also apply the 2nd effect with "Witchcrafter Genni".
1 parent 055b700 commit a3e9304

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

official/c73664385.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
3838
and Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,{SET_MAGISTUS,SET_WITCHCRAFTER}),tp,LOCATION_MZONE,0,1,nil)))
3939
and Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_DECK,0,1,nil)
4040
local event_chaining,_,event_player=Duel.CheckEvent(EVENT_CHAINING,true)
41-
local b2=(cost_skip or not Duel.HasFlagEffect(tp,id+1))
41+
local b2=(cost_skip or (not Duel.HasFlagEffect(tp,id+1)
42+
and event_chaining and event_player==1-tp))
4243
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
4344
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_HAND|LOCATION_DECK,0,1,nil,e,tp)
44-
and event_chaining and event_player==1-tp
4545
if chk==0 then e:SetLabel(0) return b1 or b2 end
4646
local op=Duel.SelectEffect(tp,
4747
{b1,aux.Stringid(id,1)},
@@ -75,4 +75,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
7575
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
7676
end
7777
end
78-
end
78+
end

0 commit comments

Comments
 (0)