Commit 55a5ac91 authored by salix5's avatar salix5

fix

parent ee806b41
...@@ -52,7 +52,7 @@ function c10443957.filter(c,tp) ...@@ -52,7 +52,7 @@ function c10443957.filter(c,tp)
and (c:IsControler(tp) or c:IsAbleToChangeControler()) and (c:IsControler(tp) or c:IsAbleToChangeControler())
end end
function c10443957.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c10443957.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c10443957.filter(chkc,tp) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c10443957.filter(chkc,tp) and chkc~=e:GetHandler() end
if chk==0 then return e:GetHandler():IsType(TYPE_XYZ) if chk==0 then return e:GetHandler():IsType(TYPE_XYZ)
and Duel.IsExistingTarget(c10443957.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,e:GetHandler(),tp) end and Duel.IsExistingTarget(c10443957.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,e:GetHandler(),tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
......
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