Commit 7214efc3 authored by mercury233's avatar mercury233

fix #1010

parent 69305236
...@@ -85,10 +85,13 @@ function c24094258.drcfilter(c,tp) ...@@ -85,10 +85,13 @@ function c24094258.drcfilter(c,tp)
return c:IsPreviousLocation(LOCATION_PZONE) and c:GetPreviousControler()==tp return c:IsPreviousLocation(LOCATION_PZONE) and c:GetPreviousControler()==tp
end end
function c24094258.drcon(e,tp,eg,ep,ev,re,r,rp) function c24094258.drcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(c24094258.drcfilter,1,nil,tp) if eg:IsExists(c24094258.drcfilter,1,nil,tp) then
e:SetLabel(tp)
return true
else return false end
end end
function c24094258.drtg(e,tp,eg,ep,ev,re,r,rp,chk) function c24094258.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return ep==tp end if chk==0 then return e:GetLabel()==tp end
Duel.SetTargetPlayer(tp) Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1) Duel.SetTargetParam(1)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1) Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
......
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