Commit 8a834e8f authored by Uytrewq's avatar Uytrewq Committed by GitHub

workaround fix (#2285)

parent ac010a2b
...@@ -17,7 +17,10 @@ function s.filter(c,tp,ft) ...@@ -17,7 +17,10 @@ function s.filter(c,tp,ft)
local p=c:GetOwner() local p=c:GetOwner()
if p~=tp then ft=0 end if p~=tp then ft=0 end
local r=LOCATION_REASON_TOFIELD local r=LOCATION_REASON_TOFIELD
if not c:IsControler(p) then r=LOCATION_REASON_CONTROL end if not c:IsControler(p) then
if not c:IsAbleToChangeControler() then return false end
r=LOCATION_REASON_CONTROL
end
return Duel.GetLocationCount(p,LOCATION_SZONE,tp,r)>ft return Duel.GetLocationCount(p,LOCATION_SZONE,tp,r)>ft
end end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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