Commit 4c1b9edf authored by Amiya's avatar Amiya

修复

parent 5e9e4e73
...@@ -72,7 +72,7 @@ function s.xyztg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -72,7 +72,7 @@ function s.xyztg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return mg:CheckSubGroup(s.fselect,1,mg:GetCount(),tp) end if chk==0 then return mg:CheckSubGroup(s.fselect,1,mg:GetCount(),tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end end
function s.xyzfilter2(c) function s.xyzfilter2(c,mg)
return mg:CheckSubGroup(s.gselect,1,#mg,c) return mg:CheckSubGroup(s.gselect,1,#mg,c)
end end
function s.gselect(sg,c) function s.gselect(sg,c)
...@@ -81,7 +81,7 @@ function s.gselect(sg,c) ...@@ -81,7 +81,7 @@ function s.gselect(sg,c)
end end
function s.xyzop(e,tp,eg,ep,ev,re,r,rp) function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
local mg=Duel.GetMatchingGroup(s.filter,tp,LOCATION_MZONE,0,nil) local mg=Duel.GetMatchingGroup(s.filter,tp,LOCATION_MZONE,0,nil)
local exg=Duel.GetMatchingGroup(s.xyzfilter2,tp,LOCATION_EXTRA,0,nil) local exg=Duel.GetMatchingGroup(s.xyzfilter2,tp,LOCATION_EXTRA,0,nil,mg)
local xyzg=exg:Filter(s.ovfilter,nil,tp,mg) local xyzg=exg:Filter(s.ovfilter,nil,tp,mg)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
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