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

Replace c50224545.lua

parent 7b541f82
Pipeline #31196 failed with stages
in 22 minutes and 41 seconds
...@@ -58,16 +58,13 @@ function c50224545.spgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -58,16 +58,13 @@ function c50224545.spgop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
function c50224545.drfilter(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
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsPreviousControler(1-tp)
and e:GetHandler():GetSequence()==(4-seq)
end
function c50224545.drcon(e,tp,eg,ep,ev,re,r,rp) function c50224545.drcon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() if rp==tp then return end
return rc:IsControler(1-tp) and e:GetHandler():GetColumnGroup():IsContains(rc) local loc,seq=Duel.GetChainInfo(0,CHAININFO_TRIGGERING_LOCATION,CHAININFO_TRIGGERING_SEQUENCE)
if loc&LOCATION_ONFIELD<=0 then return end
seq=aux.MZoneSequence(seq)
local cseq=aux.MZoneSequence(e:GetHandler():GetSequence())
return cseq==(4-seq)
end end
function c50224545.drop(e,tp,eg,ep,ev,re,r,rp) function c50224545.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,50224545) Duel.Hint(HINT_CARD,0,50224545)
......
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