Commit 2a03d55b authored by a597449807's avatar a597449807 Committed by GitHub

fix 選律のヴァルモニカ & 律導のヴァルモニカ (#2658)

close #2657
parent 519bb607
...@@ -23,6 +23,7 @@ function s.afilter(c) ...@@ -23,6 +23,7 @@ function s.afilter(c)
return c:IsFaceup() and c:IsSetCard(0x1a3) and c:IsType(TYPE_LINK) return c:IsFaceup() and c:IsSetCard(0x1a3) and c:IsType(TYPE_LINK)
end end
function s.activate(e,tp,eg,ep,ev,re,r,rp,op) function s.activate(e,tp,eg,ep,ev,re,r,rp,op)
if op==nil and not s.condition(e,tp) then return end
local c=e:GetHandler() local c=e:GetHandler()
if op==nil then if op==nil then
local chk=Duel.IsExistingMatchingCard(s.afilter,tp,LOCATION_MZONE,0,1,nil) local chk=Duel.IsExistingMatchingCard(s.afilter,tp,LOCATION_MZONE,0,1,nil)
......
...@@ -23,6 +23,7 @@ function s.afilter(c) ...@@ -23,6 +23,7 @@ function s.afilter(c)
return c:IsFaceup() and c:IsSetCard(0x1a3) and c:IsType(TYPE_LINK) return c:IsFaceup() and c:IsSetCard(0x1a3) and c:IsType(TYPE_LINK)
end end
function s.activate(e,tp,eg,ep,ev,re,r,rp,op) function s.activate(e,tp,eg,ep,ev,re,r,rp,op)
if op==nil and not s.condition(e,tp) then return end
if op==nil then if op==nil then
local chk=Duel.IsExistingMatchingCard(s.afilter,tp,LOCATION_MZONE,0,1,nil) local chk=Duel.IsExistingMatchingCard(s.afilter,tp,LOCATION_MZONE,0,1,nil)
op=aux.SelectFromOptions(tp, op=aux.SelectFromOptions(tp,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment