Commit 17fd7605 authored by wind2009's avatar wind2009

Merge remote-tracking branch 'upstream/master' into master

parents f45bb206 2a03d55b
...@@ -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