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

Use Specific Skill on Allies Cannot Die Mobs?

mezno

New Member
Joined
Jan 2, 2012
Messages
5
Reaction score
0
I'm playing a lot with Arc builds right now, and one thing the bot is really having issues with are Allies Cannot Die rares/totems with large groups around them. What I'd like to do is make it so whenever it sees a rare/totem with that, it switches to Storm Call to nuke it away quickly and accurately, since Arc will not always hit them when they're surrounded.

How/where in the routine would I edit it to use a specific skill slot in this situation?


EDIT: I know that if I set a single target skill it will use it on the rare/totem. The problem is that I'd rather the bot continue to use Arc on single target in all other situations since it does more damage and may still chain to something else.
 
Last edited:
Standard routine has very bad vaal skill handling so first you should download:
https://www.thebuddyforum.com/exile...nes/236095-ouroboros-extended-oldroutine.html
Open Ouroboros.cs
Find:
Code:
OuroborosSettings.Instance.VaalUniqueMobs && cachedRarity == Rarity.Unique
and add after:
Code:
bestTarget.HasAura("monster_aura_cannot_die")

full if block code:
Code:
                if ((OuroborosSettings.Instance.VaalNormalMobs && cachedRarity == Rarity.Normal ||
                    OuroborosSettings.Instance.VaalMagicMobs && cachedRarity == Rarity.Magic ||
                    OuroborosSettings.Instance.VaalRareMobs && cachedRarity == Rarity.Rare ||
                    OuroborosSettings.Instance.VaalUniqueMobs && cachedRarity == Rarity.Unique ||
                    bestTarget.HasAura("monster_aura_cannot_die")) &&
                    _vaalStopwatch.ElapsedMilliseconds > 1000)
                {
                    foreach (var skill in LokiPoe.InGameState.SkillBarPanel.Skills)
                    {
                        if (skill.SkillTags.Contains("vaal"))
                        {
                            if (skill.CanUse())
                            {
                                await DisableAlwaysHiglight();

                                var err1 = LokiPoe.InGameState.SkillBarPanel.UseAt(skill.Slot, false, cachedPosition);
                                if (err1 == LokiPoe.InGameState.UseError.None) { return true; }

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

I didn't tested it but in theory should work :p

Also if you use instant flask you should try to use Chicken 2.0 plugin:
https://www.thebuddyforum.com/exile...eloper-forum/222453-plugin-chicken-2-0-a.html
It will help just in case when your bot will not have storm call up against immortal totems.
 
Back
Top