Commit c1637717 authored by luffySAMA's avatar luffySAMA

fix

parent 86b12c80
......@@ -11,7 +11,7 @@ function c25290459.initial_effect(c)
c:RegisterEffect(e1)
end
function c25290459.costfilter(c,e,tp)
if not c:IsSetCard(0x41) or not c:IsAbleToGraveAsCost() then return false end
if not c:IsSetCard(0x41) or not c:IsAbleToGraveAsCost() or not c:IsFaceup() then return false end
local code=c:GetCode()
local class=_G["c"..code]
if class==nil or class.lvupcount==nil then return false end
......
......@@ -12,7 +12,7 @@ function c89086566.initial_effect(c)
end
function c89086566.cfilter(c)
local code=c:GetCode()
return (code==40640057 or code==40703223) and c:IsDestructable()
return (code==40640057 or code==40703223) and c:IsDestructable() and c:IsFaceup()
end
function c89086566.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c89086566.cfilter,tp,LOCATION_MZONE,0,1,nil) 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