Overview
As I find it quite hard to use keyboard to trigger the weapon skills, to promote my game experience, I’ve coded a AHK file to use 1 button to trigger a skill.Code are shared here.
Code
~1::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {s down}
sleep 1
send {a down}
sleep 1
send {s up}
sleep 1
send {a up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
else
{
send {d up}
sleep 1
send {s down}
sleep 1
send {d down}
sleep 1
send {s up}
sleep 1
send {d up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
}
return
}
~2::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {s down}
sleep 1
send {d down}
sleep 1
send {s up}
sleep 1
send {d up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
else
{
send {d up}
sleep 1
send {s down}
sleep 1
send {a down}
sleep 1
send {s up}
sleep 1
send {a up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
}
return
}
~3::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
else
{
send {d up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
}
return
}
~4::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
else
{
send {d up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
}
return
}
~`::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {s down}
sleep 1
send {a down}
sleep 1
send {s up}
sleep 1
send {a up}
sleep 1
send {Lbutton down}
}
else
{
send {d up}
sleep 1
send {s down}
sleep 1
send {d down}
sleep 1
send {s up}
sleep 1
send {d up}
sleep 1
send {Lbutton down}
}
}
return
}
~tab::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 2
send {Lbutton down}
sleep 1
send {Lbutton up}
}
else
{
send {d up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
}
return
}
~t::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {w down}
sleep 1
send {w up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
else
{
send {d up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {w down}
sleep 1
send {w up}
sleep 1
send {Lbutton down}
sleep 1
send {Lbutton up}
}
}
return
}
~g::
{
if WinActive(“ahk_exe E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe”)
{
if t=1
{
send {a up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {w down}
sleep 1
send {w up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {Lbutton down}
}
else
{
send {d up}
sleep 1
send {s down}
sleep 1
send {s up}
sleep 1
send {a down}
sleep 1
send {a up}
sleep 1
send {w down}
sleep 1
send {w up}
sleep 1
send {d down}
sleep 1
send {d up}
sleep 1
send {Lbutton down}
}
}
return
}
~a::t=1
~d::t=2
Instruction
E:SteamsteamappscommonBloodstained Ritual of the NightBloodstainedRotNBinariesWin64BloodstainedRotN-Win64-Shipping.exe
This text presented in the code shall be replaced by the game exe path on your pc.
1 2 3 4 t g ` tab will each trigger a key pattern for a skill.
Note that only the weapon relating to the pattern can trigger the skill.
The most used ones are 1 2 3 and tab.
1 is almost available for all weapon types.
2 is the second most used key.
tab triggers the blocking skill for sword and katana.