Commit bf8aa846 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 10db3a7c
...@@ -45,7 +45,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -45,7 +45,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
return true return true
end end
function cm.costfilter(c) function cm.costfilter(c)
return c:IsCode(1090000) and c:IsAbleToDeckAsCost() return c:IsCode(1090000) and c:IsAbleToDeckOrExtraAsCost()
end end
function cm.filter(c,event) function cm.filter(c,event)
if not (c:GetType()==TYPE_TRAP+TYPE_COUNTER and c:IsAbleToRemoveAsCost()) then return false end if not (c:GetType()==TYPE_TRAP+TYPE_COUNTER and c:IsAbleToRemoveAsCost()) then return false end
......
...@@ -300,5 +300,5 @@ function Tenka.MiuCost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -300,5 +300,5 @@ function Tenka.MiuCost(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function Tenka.costfilter(c,tp) function Tenka.costfilter(c,tp)
return c:IsCode(1090000) and c:IsAbleToDeckAsCost() return c:IsCode(1090000) and c:IsAbleToDeckOrExtraAsCost()
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