What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Summon Raging Spirit in ExampleRoutine

vjxy123

New Member
Joined
Oct 6, 2012
Messages
156
Reaction score
0
I dont know if the EB cast SRS on monster.From my view, EB need a target to cast Summon Raging Spirit,especially when there are monster or totem which have "other allies can not die" stats.
And sometimes SRS will attack monster out of poe client screen,but zombie cant attack monster out of screen.I try to set the max Range to 10.but it didnot help.
My Poe clinet resolution is 800*600,any help will be apprecaited
 
Greetings,

I am not sure exactly what you are asking...are you stating that SRS is not working for you in that it is not seeking out mobs to destroy? I would need to test the skill more, but don't the skulls it 'seek out' mobs to kill like other minions do?
 
We need some1 to get this totem's aura name, so that we can setup its kill priority higher (like the undead summoners) . . .

Something like: if mob or totem has "invul aura" set its "kill weight" to x (higher then others)

The problem I think is that it is an aura, not sure if you can identify the source of the aura, where it is originating, because you can only kill the source, not the others ...

What he wants is to tell EB to hover the mouse over the mob/totem that is creating the "invul aura", because while hovering the mouse over that particular mob/totem and casting SRS, the skulls are going to focus/attack on the mob/totem that is being targeted/hovered by the mouse ...

The same problem arises with the Bloodline buff, proliferal link (or whatever the name is . . .)
 
Last edited:
What he wants is to tell EB to hover the mouse over the mob/totem that is creating the "invul aura", because while hovering the mouse over that particular mob/totem and casting SRS, the skulls are going to focus/attack on the mob/totem that is being targeted/hovered by the mouse ...

Right now the code for Summon Raging Spirits simply casts them to let them seek and destroy whatever mobs.
Code:
if (_summonRagingSpiritSlot != -1 &&
                    _summonRagingSpiritStopwatch.ElapsedMilliseconds >
                    ExampleRoutineSettings.Instance.SummonRagingSpiritDelayMs)
                {
                    var skill = LokiPoe.InGameState.SkillBarPanel.Slot(_summonRagingSpiritSlot);
                    var max = skill.GetStat(StatType.NumberOfRagingSpiritsAllowed);
                    if (skill.NumberDeployed < max && skill.CanUse())
                    {
                        ++_summonRagingSpiritCount;

                        var err1 = LokiPoe.InGameState.SkillBarPanel.Use(_summonRagingSpiritSlot, false);

                        if (_summonRagingSpiritCount >=
                            ExampleRoutineSettings.Instance.SummonRagingSpiritCountPerDelay)
                        {
                            _summonRagingSpiritCount = 0;
                            _summonRagingSpiritStopwatch.Restart();
                        }

                        if (err1 == LokiPoe.InGameState.UseError.None)
                        {
                            await Coroutine.Sleep(Utility.LatencySafeValue(500));

                            await Coroutines.FinishCurrentAction(false);

                            return true;
                        }

                        Log.ErrorFormat("[Logic] Use returned {0} for {1}.", err1, skill.Name);
                    }
                }

If you were to change:

Code:
var err1 = LokiPoe.InGameState.SkillBarPanel.Use(_summonRagingSpiritSlot, false);

to

Code:
var err1 = LokiPoe.InGameState.SkillBarPanel.UseAt(_summonRagingSpiritSlot, false, targetPosition);

You'd make the bot place the cursor around the best target's position to cast, which sounds like you are asking for. However, due to the way the client highlighting works, you cannot guarantee you'l be casting on the best target itself.

Give that a try and see if it works better. If it does, that can be made the default behavior. If it doesn't, then you'll most likely need a custom routine to use that skill better.
 
Back
Top