Commit 86a30cec authored by TanakaKotoha's avatar TanakaKotoha

mopemope

parent 2c0b368e
Pipeline #812 failed with stages
in 24 minutes and 25 seconds
......@@ -125,13 +125,13 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
--NegateActivation
function cm.costfilter(c,ec)
function cm.costfilter2(c,ec)
return c:IsSetCard(0x559) and c:IsType(TYPE_MONSTER) and c:IsAbleToDeckOrExtraAsCost()
end
function cm.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter,tp,LOCATION_GRAVE,0,1,nil,c) end
if chk==0 then return Duel.IsExistingMatchingCard(cm.costfilter2,tp,LOCATION_GRAVE,0,1,nil,c) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local cg=Duel.SelectMatchingCard(tp,cm.costfilter,tp,LOCATION_GRAVE,0,1,3,nil,c)
local cg=Duel.SelectMatchingCard(tp,cm.costfilter2,tp,LOCATION_GRAVE,0,1,3,nil,c)
Duel.SendtoDeck(cg,nil,3,REASON_COST)
end
function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
......
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