Commit f5053d4c authored by Huangnan's avatar Huangnan

fix

parent 1ca7f134
Pipeline #39042 failed with stages
in 2 minutes and 45 seconds
......@@ -54,6 +54,8 @@ function cm.spcon(e,c)
end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
local c=e:GetHandler()
local tp=c:GetControler()
local mg=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_MZONE,0,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=mg:SelectSubGroup(tp,cm.gcheck,false,2,2,c,tp)
Duel.SendtoGrave(g,REASON_SPSUMMON+REASON_COST)
......
......@@ -106,7 +106,7 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(p,LOCATION_MZONE)<1 then
sg:AddCard(tc)
else
Duel.GetControl(tc,1-p)
Duel.GetControl(tc,p)
end
end
end
......
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