Git Product home page Git Product logo

zzliux / assttyys_autojs Goto Github PK

View Code? Open in Web Editor NEW
209.0 5.0 53.0 82.76 MB

痒痒鼠安卓辅助,基于Auto.js Pro开发。支持御魂、御灵、业原火、突破、狗粮、百鬼夜行、抽厕纸、逢魔日常、地鬼日常、妖气自动排队、斗技、喂蛋、合结界卡、六道萤草、定时寄养等

License: MIT License

JavaScript 8.10% Vue 7.90% CSS 0.76% HTML 0.71% TypeScript 82.54%
autojs autojs-pro autojs-webview onmyoji

assttyys_autojs's People

Contributors

horsemi avatar josestone5 avatar juinjonn avatar kuhai001 avatar lc-cn avatar liuaweio avatar shui670 avatar zzliux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

assttyys_autojs's Issues

点击式神

有的阵容需要给一个式神吃全部增益!目前没办法选择增益式神

改进【式神寄养】功能

  1. 建议方案功能中增加,‘0’号功能,并开启长时间未做任何动作的判断。
  2. 方案原文件中,对于994的功能设置似乎有错误,
    image

如何使用

这个咋用啊,自己打包或者用release的,放到autox或者auto6里面都不行,打包后会闪退,直接运行会黑屏

定时任务增加随机偏移参数

避免每次定时任务都是准点执行,预计在定时任务的job中增加参数:randomOffsetTime: string

如设定值为-600000,600000,在计算下次执行时间时会从该区间内生成一个随机数,随机数以毫秒加给下次执行时间

给方案、脚本增加生命周期

提供接口做方案的配置更新:允许在功能(Func)内更新当前方案、更新指定方案,基于该考虑引入生命周期,用以解决以下场景的问题:

  1. 大量的方案配置使得方案管理混乱,需要多个方案配合才能实现流程化操作,基于该考虑引入配置更新简化方案配置,如个人突破卡级方案目前由两个方案切换而来,引入配置回写后一个方案即可实现;
  2. 存在需求方案在停止后需要将配置回写,如六道椒图、六道萤草运行过程中记录的buff数;

方案(Scheme)、脚本(Script)运行的生命周期目前规划以下阶段,在功能(Func)中声明相关函数

  • onScriptStart 脚本运行,允许读写第一个方案的配置、使用Script上下文
  • onSchemeSwitchIn 方案切入,允许读写当前方案的配置、上一个方案的配置、使用Script上下文
  • onSchemeStart 方案运行,允许读写当前方案的配置、使用Script上下文
  • onSchemeStop 方案停止,允许读写当前方案的配置、使用Script上下文
  • onSchemeSwitchOut 方案切出,允许读写当前方案的配置、下一个方案的配置、使用Script上下文
  • onScriptStop 脚本停止,允许读写最后一个方案的配置、使用Script上下文

关于关闭buff

当前在mumu模拟器上执行关闭buff,会连续两次点击已打开的buff,最终导致buff关闭又被打开。

src/common/funcList/040_关闭BUFF.ts

let point = thisScript.findMultiColor('开启的BUFF') || null
			if (point) {
				thisScript.helperBridge.regionClick([
					[point.x, point.y, point.x + thisOperator[0].oper[0][2], point.y + thisOperator[0].oper[0][3], 300]
				], thisScript.scheme.commonConfig.afterClickDelayRandom);
				return true
			}

此处return true之前是否应该加sleep?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.