Commit 98078a19 authored by nanahira's avatar nanahira

fix

parent 7a043ada
...@@ -33,7 +33,7 @@ function cm.necost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -33,7 +33,7 @@ function cm.necost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function cm.negcon(e,tp,eg,ep,ev,re,r,rp) function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
local loc=re:GetActivateLocation() local loc=re:GetActivateLocation()
return (loc==LOCATION_GRAVE or loc==LOCATION_HAND) and Duel.IsChainNegatable(ev) return (loc==LOCATION_GRAVE or loc==LOCATION_HAND) and Duel.IsChainNegatable(ev) and ep~=tp
end end
function cm.eqfilter(c) function cm.eqfilter(c)
return c:IsFaceup() and c:IsSetCard(code) return c:IsFaceup() and c:IsSetCard(code)
...@@ -89,14 +89,3 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp) ...@@ -89,14 +89,3 @@ function cm.atop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
--yl_testok --yl_testok
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