Created
April 14, 2017 12:14
-
-
Save lotherk/400e14722b1970a1c24cae95d70bfbc1 to your computer and use it in GitHub Desktop.
diablo 3 mighty macro
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if starting: | |
ticks = 0 | |
def update(): | |
global ticks | |
ticks += 1 | |
diagnostics.watch(ticks) | |
if (ticks >= 100): | |
ticks = 0 | |
if keyboard.getKeyDown(Key.LeftShift) and mouse.leftButton: | |
keyboard.setPressed(Key.D1) | |
keyboard.setPressed(Key.D2) | |
keyboard.setPressed(Key.D3) | |
keyboard.setPressed(Key.D4) | |
update() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment