Commit bd32aabd authored by wind2009's avatar wind2009

Fix GMX Applied Experiment #55

parent 10a59aba
Pipeline #42839 passed with stages
in 8 minutes and 34 seconds
...@@ -17,7 +17,7 @@ function s.cfilter1(c,tp) ...@@ -17,7 +17,7 @@ function s.cfilter1(c,tp)
and Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_DECK,0,1,c) and Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_DECK,0,1,c)
end end
function s.cfilter2(c) function s.cfilter2(c)
return not c:IsSetCard(0x2dd) and c:IsRace(RACE_DINOSAUR) return c:IsRace(RACE_DINOSAUR)
end end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk) function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then if chk==0 then
...@@ -45,7 +45,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,7 +45,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local seq2=-1 local seq2=-1
local spcard2=nil local spcard2=nil
for tc in aux.Next(g2) do for tc in aux.Next(g2) do
if tc:GetSequence()>seq2 then if tc:GetSequence()>seq2 and tc:GetSequence()~=seq1 then
seq2=tc:GetSequence() seq2=tc:GetSequence()
spcard2=tc spcard2=tc
end end
......
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