Pretty freakin excited since I was keeping warlord and BV low so that CWDT would cast it quicker, I just gotta figure out how to add this now (or wait till Lay has some time

)
And i'm assuming that your charge is set to 3 or is that your main attack?
Thank you very much for this and cannot wait to try it out
Hi -
PCharge generation on 3 (gloves) Main attack is different. I use 4 seconds you can adjust.
If you don't want to wait, you can copy paste. Edit the vortexroutine.cs file in 3rd party > vortex routine.
Scroll down like 1/10th. you should see a bunch of private init lines. add one with
private int _bladevortexSlot = 3;
a little below (like a couple paragraphs) you should see a bunch of private readonly stopwatch lines. add one with
private readonly Stopwatch _bladevortexStopwatch = Stopwatch.StartNew();
Okay here's the hard part. Much lower, Find the logic section. It's like... 70-80 down. You want to add :
// Blade Vortex CoH & PCoC
if (_bladevortexSlot == 3 && _bladevortexStopwatch.ElapsedMilliseconds > 4000)
{
var skill = LokiPoe.InGameState.SkillBarHud.Slot(_bladevortexSlot);
if (skill.CanUse() && NumberOfMobsNear(LokiPoe.Me, 15) >= 1)
{
await DisableAlwaysHiglight();
await Coroutines.FinishCurrentAction();
var err1 = LokiPoe.InGameState.SkillBarHud.Use(skill.Slot, true);
if (err1 == LokiPoe.InGameState.UseResult.None)
{
await Coroutines.FinishCurrentAction(false);
_bladevortexStopwatch.Restart();
return true;
}
_bladevortexStopwatch.Restart();
}
}
Including the brackets. I put mine underneath the handle wither logic seen below. Just put in a new line after the 2nd bracket.
// Handle Wither logic.
if (_witherSlot != -1)
{
var skill = LokiPoe.InGameState.SkillBarHud.Slot(_witherSlot);
if (skill.CanUse(false, false, false) && !cachedWither)
{
await DisableAlwaysHiglight();
await Coroutines.FinishCurrentAction();
var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_witherSlot, true, cachedPosition);
if (err1 == LokiPoe.InGameState.UseResult.None)
{
await Coroutines.LatencyWait();
await Coroutines.FinishCurrentAction(false);
await Coroutines.LatencyWait();
return true;
}
Log.ErrorFormat("[Logic] UseAt returned {0} for {1}.", err1, skill.Name);
}
}
Make sure and put it below 2 brackets as seen above.
Save. Restart bot.