Commit 68075b6e authored by Tachibana's avatar Tachibana

nmbd

parent c5da82cb
......@@ -53,13 +53,13 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.disfilter1(c)
return c:IsCanAddCounter(0x1fb0) and c:IsFaceup()
return c:IsCanAddCounter(0x1fb0,1) and c:IsFaceup()
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and cm.disfilter1(chkc) end
if chk==0 then return Duel.IsExistingTarget(cm.disfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectTarget(tp,aux.disfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
local g=Duel.SelectTarget(tp,cm.disfilter1,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DISABLE,g,1,0,0)
end
function cm.operation(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