Commit a5848204 authored by xiaoye's avatar xiaoye

Update vgd.lua

parent 79b49deb
...@@ -884,8 +884,9 @@ function VgD.OverDressFilter(c, filter, tp, zone) ...@@ -884,8 +884,9 @@ function VgD.OverDressFilter(c, filter, tp, zone)
return not filter or (type(filter) == "function" and filter(c)) or (type(filter) == "number" and c:IsCode(filter)) return not filter or (type(filter) == "function" and filter(c)) or (type(filter) == "number" and c:IsCode(filter))
end end
function VgD.OverDressOperation(filter) function VgD.OverDressOperation(filter)
return function(e, tp, eg, ep, ev, re, r, rp) return function(e)
local c = e:GetHandler() local c = e:GetHandler()
local tp = e:GetHandlerPlayer()
local g = Duel.GetMatchingGroup(VgD.OverDressFilter, tp, LOCATION_MZONE, 0, nil, filter, tp) local g = Duel.GetMatchingGroup(VgD.OverDressFilter, tp, LOCATION_MZONE, 0, nil, filter, tp)
local zone, szone = 0, 0 local zone, szone = 0, 0
for tc in VgF.Next(g) do for tc in VgF.Next(g) do
......
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