Commit 343e10f3 authored by Tachibana's avatar Tachibana

eme

parent 023db938
Pipeline #6865 passed with stages
in 54 minutes and 7 seconds
...@@ -107,10 +107,12 @@ end ...@@ -107,10 +107,12 @@ end
function c4210013.spcon(e,c) function c4210013.spcon(e,c)
if c==nil then return true end if c==nil then return true end
local tp=c:GetControler() local tp=c:GetControler()
local rg=Duel.GetReleaseGroup(tp):Filter(c4210013.spfilter,nil,tp)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
local ct=-ft+1 local rg=Duel.GetReleaseGroup(tp):Filter(c4210013.spfilter,nil,ft,tp)
return ft>-2 and rg:GetCount()>1 and (ft>0 or rg:IsExists(c4210013.mzfilter,ct,nil,tp)) local rgc=rg:GetCount()
local c=e:GetHandler()
return (rgc>0 and Duel.CheckReleaseGroup(tp,c4210013.spfilter,1,nil,rgc,tp) and c:IsLocation(LOCATION_HAND))
or (rgc>1 and Duel.CheckReleaseGroup(tp,c4210013.spfilter,2,nil,rgc,tp) and c:IsLocation(LOCATION_DECK))
end end
function c4210013.spop(e,tp,eg,ep,ev,re,r,rp,c) function c4210013.spop(e,tp,eg,ep,ev,re,r,rp,c)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE) local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
......
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