COC
COC
**实现全局计数**\ 1.循环次数,保存到本地json文件来自[kqcoxn](https://github.com/kqcoxn)\ https://github.com/kqcoxn/MaaNewMoonAccompanying/blob/v1.2.6/agent/customs/utils.py#L51-L111,\ 2.只有两个必须节点\ 3.本例子为结合pipeline和agent ~~~ """全局计数器 "custom_action_param": { "target_count": 4,#目标次数 "nextTask": "panduan_zhujiemian", #,达到目标次数后,返回主界面操作 "LoopNode": "背包向上滑动1"#未达到目标次数,背包翻页 } target_count: 目标次数,**必须** nextTask: 完成目标次数后,执行下一任务节点 ,**必须** LoopNode: 未达到目标次数,可执行节点,**非必须** """ ~~~ 3.1pipeline: https://github.com/gitlihang/Maa_MHXY_MG/blob/main/assets/resource/base/pipeline/zhengli_baibao.json#L97-L131\ 3.2agent: https://github.com/gitlihang/Maa_MHXY_MG/blob/main/assets/agent/custom/action/count.py#L61-L107...