Commit 2216823f authored by 八宫一月's avatar 八宫一月

fix

parent 6cab50aa
Pipeline #40046 passed with stages
in 2 minutes and 20 seconds
...@@ -45,6 +45,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -45,6 +45,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.Destroy(g,REASON_EFFECT)~=0 then if Duel.Destroy(g,REASON_EFFECT)~=0 then
local ct=Duel.GetOperatedGroup():GetCount() local ct=Duel.GetOperatedGroup():GetCount()
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)==0 then
Duel.SendtoGrave(c,REASON_EFFECT)
end
if not c:IsRelateToChain() then return end if not c:IsRelateToChain() then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
if ct==1 then if ct==1 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