Commit 35cbe44a authored by TanakaKotoha's avatar TanakaKotoha

888

parent e6125aeb
......@@ -77,19 +77,19 @@ function cm.hspop(e,tp,eg,ep,ev,re,r,rp,c)
end
function cm.filter(c)
return c:IsFaceup() and c:IsCanAddCounter(0x34f,6)
return c:IsFaceup() and c:IsCanAddCounter(0x34f,4)
end
function cm.addct(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsOnField() and cm.filter(chkc) end
if chk==0 then return true end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,cm.filter,tp,LOCATION_ONFIELD,0,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,6,0,0x34f)
Duel.SetOperationInfo(0,CATEGORY_COUNTER,nil,4,0,0x34f)
end
function cm.addc(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc and tc:IsFaceup() and tc:IsRelateToEffect(e) then
tc:AddCounter(0x34f,6)
tc:AddCounter(0x34f,4)
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