brycem1989
New Member
- Joined
- Jun 11, 2015
- Messages
- 90
Curious because in grindbot it doesnt have any of the bosses as far as i can tell.
Nope. You could add some custom code to reset a zone after killing a specific boss tho. Nothing currently available like that atm. You could try to look at some of the really old plugins like Dominus fighter etc and look at the code.
Just another quick question because you seem to know what you talking about lol is it possible to get the oldroutine to pop a spell for ele prolif then use a different skill as the main attack. i.e drop orb of storms for prolif then fireblast?
if (_orbOfStormsSlot != -1 && _orbOfStormsStopwatch.ElapsedMilliseconds > 2500)
{
var skill = LokiPoe.InGameState.SkillBarHud.Slot(_orbOfStormsSlot);
if (skill.CanUse())
{
await DisableAlwaysHiglight();
await Coroutines.FinishCurrentAction();
var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_orbOfStormsSlot, false, cachedPosition);
_orbOfStormsStopwatch.Restart();
if (err1 == LokiPoe.InGameState.UseResult.None)
return true;
Log.ErrorFormat("[Logic] UseAt returned {0} for {1}.", err1, skill.Name);
}
}
private int _orbOfStormsSlot = -1;
[COLOR="#FF0000"]and [/COLOR]
_orbOfStormsSlot = -1;
[COLOR="#FF0000"]and [/COLOR]
var oos = LokiPoe.InGameState.SkillBarHud.Skills.FirstOrDefault(s => s.Name == "Orb of Storms");
if (IsCastableHelper(oos))
{
_orbOfStormsSlot = oos.Slot;
}
[COLOR="#FF0000"]and finally[/COLOR]
private readonly Stopwatch __orbOfStormsStopwatch = Stopwatch.StartNew();
I rarely/barely know what im taking about when it comes to EB ;p
But yes, it is possible to add that to oldroutine. I dont know enough about how Elemental Proliferation works myself. Just reading the skill gem quickly it seems like you are dropping say an orb of storms to shock an enemy and everything around that enemy, then using fireblast? If thats the case, then it would be pretty simple to add. Just put Orb of Storms on a timer. Would look something like this:
Code:if (_orbOfStormsSlot != -1 && _orbOfStormsStopwatch.ElapsedMilliseconds > 2500) { var skill = LokiPoe.InGameState.SkillBarHud.Slot(_orbOfStormsSlot); if (skill.CanUse()) { await DisableAlwaysHiglight(); await Coroutines.FinishCurrentAction(); var err1 = LokiPoe.InGameState.SkillBarHud.UseAt(_orbOfStormsSlot, false, cachedPosition); _orbOfStormsStopwatch.Restart(); if (err1 == LokiPoe.InGameState.UseResult.None) return true; Log.ErrorFormat("[Logic] UseAt returned {0} for {1}.", err1, skill.Name); } }
You would also have to add a few other lines of code to make this work. Such as:
Code:private int _orbOfStormsSlot = -1; [COLOR="#FF0000"]and [/COLOR] _orbOfStormsSlot = -1; [COLOR="#FF0000"]and [/COLOR] var oos = LokiPoe.InGameState.SkillBarHud.Skills.FirstOrDefault(s => s.Name == "Orb of Storms"); if (IsCastableHelper(oos)) { _orbOfStormsSlot = oos.Slot; } [COLOR="#FF0000"]and finally[/COLOR] private readonly Stopwatch __orbOfStormsStopwatch = Stopwatch.StartNew();
Each of those last 4 segments just get inserted near the top of oldroutine, you should be able to see where they fit in, just add them near other similar lines of code.
This is how i would do it. Its the "lazy" way for sure, just set the timer to whatever you want. Above is set to cast orb of storms every 2.5 seconds. You could go all advanced and see if your bestTarget has X debuff, if not cast orb of storms else cast fireblast, but then you have to look up spell IDs and shiet.
Thanks alot mate. For anyone that wants to know that profile will work perfectly for ele prolif flameblast build which is the current meta in the races. Also I PM'd you a question about flicker strike if you have any free time <3
Just tested the flicking is amazing 10/10
Good to hear
I may just end up releasing a mashup of all the routines i already have into one. I have probably 15 different "situational" skill combos that are not included in OldRoutine. Things like Lightning Arrow + Frostwall, Flicker, Shield Charge + Ancestral Warchief totem, all Vaal Skills with individual conditions, etc etc. These are all extremely minor changes to oldroutine, but they do make a pretty big difference for how combat works.
I just never wanted to have to update like 15 routines, but i dont think anything would conflict if i put them into 1 routine. I generally just strip everything out of OldRoutine that isnt relevant to the class/spec im playing. I have been hesitant to release these things because i was expecting AR to be out (why doesnt tonyx have the ability to duplicate himself)! which would make pretty much anything i release obsolete since everyone will likely switch to AR.
Will work on it tonight.