蚂蚁森林自动收能量
最近一直在研究Auto.js 就顺手写了个脚本,就是各种帮你玩日常小游戏,能薅一点是一点! 来个最直接的方式,百度云下载地址 链接: https://pan.baidu.com/s/1jradOvFF9-z53ycNaUd8MQ 密码: r8rh 代码完全开元,需要参考请拿走! Github地址: https://github.com/MasterSumCloud/YangmaoHelper 提BUG群: 567679111 下面就直接附上代码啦: let deviceWidth = device . width ; let deviceHeight = device . height ; function startAntForest ( ) { //进入支付宝 launch ( "com.eg.android.AlipayGphone" ) ; sleep ( 5000 ) ; //判断是否已经在游戏界面 let gamePartHome = id ( "J_af_home" ) . findOnce ( ) ; //在首页寻找 蚂蚁深林和蚂蚁庄园的入口 let antForest = id ( "app_text" ) . textContains ( "蚂蚁森林" ) . findOnce ( ) ; if ( antForest != null ||