Commit 7b541f82 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c50224540.lua

parent 2922e7fd
Pipeline #31195 failed with stages
in 29 minutes and 23 seconds
......@@ -49,11 +49,9 @@ function c50224540.setop(e,tp,eg,ep,ev,re,r,rp)
end
function c50224540.damfilter(c,e,tp)
if not c:IsPreviousLocation(LOCATION_MZONE) or not c:IsPreviousControler(1-tp) then return false end
local seq=c:GetPreviousSequence()
if seq==5 then seq=1 elseif seq==6 then seq=3 end
local cseq=e:GetHandler():GetSequence()
if cseq==5 then cseq=1 elseif cseq==6 then cseq=3 end
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousControler(1-tp) and cseq==(4-seq)
local seq=aux.MZoneSequence(c:GetPreviousSequence())
local cseq=aux.MZoneSequence(e:GetHandler():GetSequence())
return cseq==(4-seq)
end
function c50224540.damcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c50224540.damfilter,1,nil,e,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