Instantly share code, notes, and snippets.

Embed
What would you like to do?
Key-mashing AI for Shining Blades from https://steelraven7.itch.io/shinin-blades by SteelRaven7 and Wronex
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
@CJjorphen24

This comment has been minimized.

Show comment
Hide comment
@CJjorphen24

CJjorphen24 Aug 24, 2018

Melee not working

CJjorphen24 commented Aug 24, 2018

Melee not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment