Commit 23d82fd7 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 25299214
Pipeline #30234 passed with stages
in 38 minutes and 53 seconds
...@@ -52,6 +52,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -52,6 +52,7 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local sc=Duel.GetFirstTarget() local sc=Duel.GetFirstTarget()
if sc and Duel.SendtoDeck(sc,nil,0,REASON_EFFECT)>0 and sc:IsLocation(LOCATION_EXTRA) and c:IsControler(tp) and sc:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.IsExistingMatchingCard(cm.monfilter,tp,LOCATION_MZONE,0,1,nil,tp) and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then if sc and Duel.SendtoDeck(sc,nil,0,REASON_EFFECT)>0 and sc:IsLocation(LOCATION_EXTRA) and c:IsControler(tp) and sc:IsCanBeSpecialSummoned(e,SUMMON_TYPE_XYZ,tp,false,false) and Duel.IsExistingMatchingCard(cm.monfilter,tp,LOCATION_MZONE,0,1,nil,tp) and Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local mg=Duel.SelectMatchingCard(tp,cm.monfilter,tp,LOCATION_MZONE,0,1,1,nil) local mg=Duel.SelectMatchingCard(tp,cm.monfilter,tp,LOCATION_MZONE,0,1,1,nil)
local mgg=mg:GetFirst():GetOverlayGroup() local mgg=mg:GetFirst():GetOverlayGroup()
if mgg:GetCount()~=0 then if mgg:GetCount()~=0 then
......
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