Commit 0deb045c authored by salix5's avatar salix5

fix

type error
parent 6e8147bc
......@@ -28,7 +28,7 @@ end
function c42752141.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
if re:GetHandler():IsDestructable() and re:GetHandler():IsRelateToEffect(re) then
if re:GetHandler():IsDestructable() and (re:GetActivateLocation()==LOCATION_EXTRA or re:GetHandler():IsRelateToEffect(re)) then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,1,0,0)
end
end
......
......@@ -21,7 +21,7 @@ end
function c49010598.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
if re:GetHandler():IsDestructable() and re:GetHandler():IsRelateToEffect(re) then
if re:GetHandler():IsDestructable() and (re:GetActivateLocation()==LOCATION_EXTRA or re:GetHandler():IsRelateToEffect(re)) then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,1,0,0)
end
end
......
......@@ -24,7 +24,7 @@ end
function c58120309.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
if re:GetHandler():IsDestructable() and re:GetHandler():IsRelateToEffect(re) then
if re:GetHandler():IsDestructable() and (re:GetActivateLocation()==LOCATION_EXTRA or re:GetHandler():IsRelateToEffect(re)) then
Duel.SetOperationInfo(0,CATEGORY_DESTROY,eg,1,0,0)
end
end
......
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