Commit c5acc3df authored by 聖園ミカ's avatar 聖園ミカ 🐟

man!

parent 2c82dcc1
Pipeline #32479 passed with stages
in 41 minutes and 50 seconds
......@@ -135,17 +135,23 @@ end
function s.seqfilter(c,seq,tp)
local cseq=c:GetSequence()
local cloc=c:GetLocation()
if cloc&LOCATION_SZONE~=0 and cseq>=5 then return false end
if cloc&LOCATION_MZONE~=0 and cseq>=5 then
if c:IsControler(tp) then
return (cseq==5 and seq==3) or (cseq==6 and seq==1)
return seq==1 and cseq==6 or seq==3 and cseq==5
else
return seq==1 and cseq==5 or seq==3 and cseq==6
end
end
if cloc==LOCATION_SZONE and cseq>=5 then return false end
if cloc==LOCATION_MZONE and cseq>=5 and loc==LOCATION_MZONE
and (seq==1 and cseq==5 or seq==3 and cseq==6 or seq==cseq) then return true end
if cloc==LOCATION_MZONE and seq>=5 and loc==LOCATION_MZONE
and Duel.IsExistingMatchingCard(s.exmzfilter,tp,0,LOCATION_MZONE,1,nil,seq) then
return seq==5 and cseq==1 or seq==6 and cseq==3
if c:IsControler(tp) then
return false
end
if cloc&LOCATION_MZONE~=0 then
return cseq==seq or seq<5 and cseq<5 and math.abs(cseq-seq)==1
else
return cseq==seq
end
return cseq==seq or seq<5 and cseq<5 and cloc==loc and math.abs(cseq-seq)==1
return false
end
function s.seqtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
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