Commit 10d91ca5 authored by argon.sun's avatar argon.sun

fix

parent 8bcfb613
...@@ -33,7 +33,7 @@ function c36021814.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -33,7 +33,7 @@ function c36021814.condition(e,tp,eg,ep,ev,re,r,rp)
end end
function c36021814.costfilter(c) function c36021814.costfilter(c)
local code=c:GetCode() local code=c:GetCode()
return code==32274490 or code==36021814 and c:IsAbleToRemoveAsCost() return (code==32274490 or code==36021814) and c:IsAbleToRemoveAsCost()
end end
function c36021814.cost(e,tp,eg,ep,ev,re,r,rp,chk) function c36021814.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c36021814.costfilter,tp,LOCATION_GRAVE,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(c36021814.costfilter,tp,LOCATION_GRAVE,0,1,e:GetHandler()) end
......
...@@ -27,7 +27,7 @@ function c38318146.acfilter(c) ...@@ -27,7 +27,7 @@ function c38318146.acfilter(c)
return c:IsType(TYPE_SPELL) and c:IsAbleToGraveAsCost() return c:IsType(TYPE_SPELL) and c:IsAbleToGraveAsCost()
end end
function c38318146.actarget(e,te,tp) function c38318146.actarget(e,te,tp)
te:GetHandler():IsType(TYPE_SPELL) and te:IsHasType(EFFECT_TYPE_ACTIVATE) return te:GetHandler():IsType(TYPE_SPELL) and te:IsHasType(EFFECT_TYPE_ACTIVATE)
end end
function c38318146.accost(e,te,tp) function c38318146.accost(e,te,tp)
c38318146[0]=false c38318146[0]=false
......
...@@ -8,7 +8,7 @@ function c95451366.initial_effect(c) ...@@ -8,7 +8,7 @@ function c95451366.initial_effect(c)
e1:SetOperation(c95451366.activate) e1:SetOperation(c95451366.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c95451366.taget(e,tp,eg,ep,ev,re,r,rp,chk) function c95451366.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsCanRemoveCounter(tp,1,1,0x3001,1,REASON_EFFECT) end if chk==0 then return Duel.IsCanRemoveCounter(tp,1,1,0x3001,1,REASON_EFFECT) end
end end
function c95451366.filter(c) function c95451366.filter(c)
......
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