Created
August 15, 2018 14:35
Key-mashing AI for Shining Blades from https://steelraven7.itch.io/shinin-blades by SteelRaven7 and Wronex
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
F1:: | |
loop { | |
Random, updown, 0, 5 | |
if (updown < 2 ) { | |
Send {Up up} | |
Send {Down down} | |
} else if (updown < 4) { | |
Send {Down up} | |
Send {Up down} | |
} else { | |
Send {Down up} | |
Send {Up up} | |
} | |
loop 5 { | |
if die == 1 | |
break | |
Random, action, 0, 10 | |
if (action < 1 ) { | |
Send {RShift down} {RShift up} | |
} | |
else if (action < 4){ | |
Send {Left up} | |
Send {Right down} | |
} | |
else if (action < 7){ | |
Send {Right up} | |
Send {Left down} | |
} | |
else { | |
Send, {RCtrl} | |
} | |
} | |
} | |
Return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Melee not working