Skip to content

Instantly share code, notes, and snippets.

@iwanPlays
Created August 15, 2018 14:35
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
Copy link

Melee not working

@birdeez
Copy link

birdeez commented Dec 16, 2018

aand where do I put this

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