Commit 109c20e4 authored by Tachibana's avatar Tachibana

ybb

parent 274c0624
...@@ -44,7 +44,7 @@ function cm.atkval(e,c) ...@@ -44,7 +44,7 @@ function cm.atkval(e,c)
return g:GetClassCount(Card.GetAttribute)*500 return g:GetClassCount(Card.GetAttribute)*500
end end
function cm.cfilter(c) function cm.cfilter(c)
return c:IsSetCard(tcode) and c:IsAbleToDeckAsCost() and c:IsType(TYPE_MONSTER) return c:IsSetCard(tcode) and c:IsAbleToDeckAsCost() and c:IsType(TYPE_MONSTER) and c:IsFaceup()
end end
function cm.drcost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter,tp,ga+rm,0,2,nil) end if chk==0 then return Duel.IsExistingMatchingCard(cm.cfilter,tp,ga+rm,0,2,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