Commit d1ea4a9c authored by nanahira's avatar nanahira

fix

parent 7f735d5e
......@@ -208,7 +208,13 @@ function Auxiliary.PreloadUds()
e1:SetDescription(1130)
e1:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.SelectMatchingCard(tp,nil,tp,0xff,0xff,1,99,c)
local sg=Duel.GetFieldGroup(tp,0x7f,0x7f)
for tc in Auxiliary.Next(g) do
for oc in Auxiliary.Next(tc:GetOverlayGroup()) do
sg:AddCard(oc)
end
end
local g=sg:Select(tp,1,99,nil)
local og=g:Filter(Card.IsLocation,nil,LOCATION_OVERLAY)
g:Sub(og)
local tog=Group.CreateGroup()
......
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