Commit 5c504d50 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent eac91028
......@@ -69,14 +69,7 @@ function cm.spfilter(c,e,tp)
end
function cm.spop(e,tp,eg)
local c=rscf.GetSelf(e)
if not c then return end
local res=false
if c:IsLocation(LOCATION_GRAVE) then
res=rssf.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP,nil,{"leave",LOCATION_REMOVED })<=0
else
res=rssf.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)<=0
end
if not res then return end
if not c or rssf.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)<=0 then return end
c:CompleteProcedure()
local flaglist={Duel.GetFlagEffectLabel(tp,m)}
local flag=0
......
......@@ -52,14 +52,7 @@ function cm.spfilter(c,e,tp)
end
function cm.spop(e,tp,eg)
local c=rscf.GetSelf(e)
if not c then return end
local res=false
if c:IsLocation(LOCATION_GRAVE) then
res=rssf.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP,nil,{"leave",LOCATION_REMOVED })<=0
else
res=rssf.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)<=0
end
if not res then return end
if not c or rssf.SpecialSummon(c,0,tp,tp,true,true,POS_FACEUP)<=0 then return end
c:CompleteProcedure()
local g=Duel.GetMatchingGroup(Card.IsAbleToRemove,tp,LOCATION_GRAVE,LOCATION_GRAVE,nil)
if #g>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