Commit 9678d626 authored by Amiya's avatar Amiya

修复

parent 8658f071
Pipeline #42657 passed with stages
in 5 minutes and 14 seconds
......@@ -73,7 +73,7 @@ function s.tfilter(c)
end
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chkc then return s.tfilter(chkc) and chkc:IsOnField() end
if chkc then return s.tfilter(chkc) and chkc:IsOnField() and chkc:IsControler(tp) end
if chk==0 then return c:IsAbleToHand()
and Duel.IsExistingTarget(s.tfilter,tp,LOCATION_ONFIELD,0,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
......
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