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

hop

parent 2140b029
Pipeline #31095 passed with stages
in 47 minutes and 57 seconds
...@@ -109,11 +109,11 @@ end ...@@ -109,11 +109,11 @@ end
function cm.sprcon(e,c) function cm.sprcon(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 g=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler()) local g=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
return g:CheckSubGroup(cm.gcheck,5,5,tp) return g:CheckSubGroup(cm.gcheck,5,5,tp)
end end
function cm.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c) function cm.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler()) local g=Duel.GetMatchingGroup(cm.sprfilter,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:SelectSubGroupEach(tp,cm.spchecks,true,aux.mzctcheck,tp) local sg=g:SelectSubGroupEach(tp,cm.spchecks,true,aux.mzctcheck,tp)
if sg then if sg then
...@@ -405,7 +405,7 @@ function cm.soop(e,tp,eg,ep,ev,re,r,rp) ...@@ -405,7 +405,7 @@ function cm.soop(e,tp,eg,ep,ev,re,r,rp)
local dg1=g1:Select(tp,1,1,nil) local dg1=g1:Select(tp,1,1,nil)
Duel.SendtoDeck(dg1,tp,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(dg1,tp,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
local g2=Duel.GetFieldGroup(1- tp,0,LOCATION_GRAVE):Filter(aux.NecroValleyFilter(cm.bcfilter),nil) local g2=Duel.GetFieldGroup(tp,0,LOCATION_GRAVE):Filter(aux.NecroValleyFilter(cm.bcfilter),nil)
if #g2>0 then if #g2>0 then
Duel.Hint(HINTMSG_SELECT,1-tp,HINTMSG_TODECK) Duel.Hint(HINTMSG_SELECT,1-tp,HINTMSG_TODECK)
local dg2=g2:Select(1-tp,1,1,nil) local dg2=g2:Select(1-tp,1,1,nil)
......
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