Commit b45a47af authored by GuGu's avatar GuGu

Update c4114113.lua

parent 3aaed298
Pipeline #17172 passed with stage
in 45 seconds
...@@ -31,7 +31,7 @@ function c4114113.filter(c) ...@@ -31,7 +31,7 @@ function c4114113.filter(c)
return c:IsType(TYPE_SPELL+TYPE_TRAP) return c:IsType(TYPE_SPELL+TYPE_TRAP)
end end
function c4114113.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c4114113.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and c4114113.filter(chkc) and chkc~=e:GetHandler() end if chkc then return chkc:IsLocation(LOCATION_SZONE) and chkc:IsControler(1-tp) and c4114113.filter(chkc) end
if chk==0 then return Duel.IsExistingTarget(c4114113.filter,tp,0,LOCATION_ONFIELD,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingTarget(c4114113.filter,tp,0,LOCATION_ONFIELD,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectTarget(tp,c4114113.filter,tp,0,LOCATION_ONFIELD,1,1,e:GetHandler()) local g=Duel.SelectTarget(tp,c4114113.filter,tp,0,LOCATION_ONFIELD,1,1,e:GetHandler())
......
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