Commit 8948a53c authored by wind2009's avatar wind2009

Update

parent 6486d01a
......@@ -63,7 +63,9 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local tg=Duel.GetMatchingGroup(s.tgfilter,tp,LOCATION_REMOVED,0,nil,e)
if chk==0 then return #tg>0 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local g=tg:SelectSubGroup(tp,aux.dabcheck,false,1,7)
aux.GCheckAdditional=aux.dabcheck
local g=tg:SelectSubGroup(tp,aux.TRUE,false,1,7)
aux.GCheckAdditional=nil
Duel.SetTargetCard(g)
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,g:GetCount(),0,0)
end
......
......@@ -93,7 +93,7 @@ function s.splimit(e,c)
return not c:IsType(TYPE_XYZ) and c:IsLocation(LOCATION_EXTRA)
end
function s.ocfilter(c)
return c:IsFaceup() and c:IsSummonType(SUMMON_TYPE_XYZ) and c:IsType(TYPE_MONSTER)
return c:IsFaceup() and c:IsSummonType(SUMMON_TYPE_XYZ) and c:IsAllTypes(TYPE_XYZ+TYPE_MONSTER)
end
function s.ovcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.ocfilter,1,nil)
......
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