Giter Site home page Giter Site logo

d3hotkeysimulation's Introduction

D3HotKeySimulation

方便自己在mac上玩暗黑3,使用pyautogui实现一个基本的鼠标宏。

添加武僧敲钟

敲钟操作很繁琐,添加了武僧敲钟模式,2钟2破

Todo

  • 自动拾取
    • 实现了一个简易的自动拾取,按下空格键,会自动点击鼠标左键20下。
  • 自动分解
  • 图形界面

使用方法


python d3.py --play_role dh/monk

目前只配置了冰吞dh和风雷冲武僧两个职业

运行程序后,F2开始,F4暂停,F8停止,空格自动拾取。

配置

目前共设计了7个按键

按键 默认按键
强制移动 E
技能1 1
技能2 2
技能3 3
技能4 4
左键技能 鼠标左键
右键技能 鼠标右键

四种模式

模式 tag
按住 1
间隔 2
站立 3
停止 4

config/monk_config.py为例:

args_mouse_right= ('mouse', 'right', 2, 3.0)

该命令的意义是,设置鼠标右键为间隔释放,间隔时间3秒。

d3hotkeysimulation's People

Contributors

zhangyiqun018 avatar

Watchers

 avatar

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.