This should actually be pretty easy to implement, you just need the aura/buff name, and the code is already there for another skills, just need to change a bit . . .
I've been busy so I've not had the time, but find the buff name and I'll make something work.
Else If InStr(playerstats.BuffName[A_Index], "charged_attack") ; Blade Flurry {
BuffCharges:=PlayerStats.BuffCharges[A_Index]
If (BuffCharges = 6)
{
GetKeyState, state, 1
Sendinput, {1 Up}
if state = D
Sendinput, {1 Down}
}
continue
}
in which file it is necessary to write?I believe the buff name is "charged_attack".
I am getting the name from the badplayer AutoPot.ahk.
Code:Else If InStr(playerstats.BuffName[A_Index], "charged_attack") ; Blade Flurry { BuffCharges:=PlayerStats.BuffCharges[A_Index] If (BuffCharges = 6) { GetKeyState, state, 1 Sendinput, {1 Up} if state = D Sendinput, {1 Down} } continue }
Works perfectly fine with the autopot. Im just assuming the ahk is reading the buff name from memory, thus it should be the same for EB.
I thought i would be able to easily convert the Flameblast code over for Blade Flurry, but the Flameblast has some hardcoded variables that you cant use for Blade Flurry, such as " var currentFlameblastCharges = LokiPoe.Me.FlameblastCharges;" and "_isCastingFlameBlast", thus that stopped my attempts, but im sure the more code savy people could throw something together rather easily.
Not working for me, i can see the bladefurry max charges and i've set the skills properly and fallback skill also but it wont let it charge more than just 1 time like old version :/
if i paste this in OldRoutine folder, and start bot, i can use only: NullRoutine (clear files), not work this?Here it is, even has a setting for max charges if 6 is overkill.
Will cast skill in fallback slot when it reaches max.
The file SettingsGui.txt should be renamed to SettingsGui.xaml (for some reason it wouldn't let me upload .xaml)
+1 those files are having zero impact
For me he would charge to 6 and keep attacking (same as OP if I understand correctly), so I made this to make the bot release after x stacks.
If you never went beyond 1 before that's the problem as this code assumes you can get charges.
I'm not sure why you can't get over 1 stack.. What about settings? Are you using "Always attack in place"?
Just got around to testing this for myself. Didnt try it earlier because of the reports of it not working. Those are user errors. The code is working exactly how i thought it would and is just fine. It uses Blade Flurry properly (for the most part).
I think what some people had in mind was it only releasing at 6 stacks, but it does currently release before 6 charges when switching targets. This is fine imo, not a big deal.
What this code does solve is it will always now release at 6 stacks which is what the default oldroutine does not do. With oldroutine when you got to a boss, it would just infinitely keep you at 6 stacks which is a massive damage loss for this skill. With Fuji's code when fighting bosses (or any high hp mob) it releases properly.
I did notice that if you set your fallback skill slot to the same skill slot that you set to Blade Flurry, then it doesnt release (technically its never just releasing its just using another skill to cancel the channel). So you cant set your fallback to the same slot as you set Blade Flurry.
Anyways, thanks for the code Fuji. Its working really well.
For me he would charge to 6 and keep attacking (same as OP if I understand correctly), so I made this to make the bot release after x stacks.
If you never went beyond 1 before that's the problem as this code assumes you can get charges.
I'm not sure why you can't get over 1 stack.. What about settings? Are you using "Always attack in place"?
For people not getting > 1 stack: I think you should be using right mouse button for BF.