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

Possible to add to the routine: Curse on hit(ball lightning) at start of combat?

xeratzy

New Member
Joined
Jul 20, 2014
Messages
37
Reaction score
0
Hey, would it be possible to add to the routine so the bot cast ball lightning once it engage in combat, and then perhaps recast it ever "x" seconds? I guess it isn't possible at the time without having any programming skills?

edit;

bonus question, i noticed my ranged character just stands endlessly stand and spam spells on proximate shield units, is there any setting i have missed that order the bot to either skip or always go into melee ranged if the enemy has the proximate shield mod?
 
Last edited:
You would need to edit this into your exampleroutine yourself.. A simple fix is just to change the detection of your curse spells to detect ball lightning and use the same logic for that as well

You would change:
Code:
if (tags.Contains("curse"))
                    {
                        var slot = skill.Slot;
                        if (slot != -1 && skill.IsCastable)
                        {
                            _curseSlots.Add(slot);
                        }
                    }

To:
Code:
if (tags.Contains("curse") || (skill.Name == "Ball Lightning"))
                    {
                        var slot = skill.Slot;
                        if (slot != -1 && skill.IsCastable)
                        {
                            _curseSlots.Add(slot);
                        }
                    }


The exampleroutine is coded to go into melee range if the mob has prox shield and is out of melee range. Make sure you have your melee range set low enough you actually go inside the prox shield.
 
Last edited:
You would need to edit this into your exampleroutine yourself.. A simple fix is just to change the detection of your curse spells to detect ball lightning and use the same logic for that as well

You would change:
Code:
if (tags.Contains("curse"))
                    {
                        var slot = skill.Slot;
                        if (slot != -1 && skill.IsCastable)
                        {
                            _curseSlots.Add(slot);
                        }
                    }

To:
Code:
if (tags.Contains("curse") || (skill.Name == "Ball Lightning"))
                    {
                        var slot = skill.Slot;
                        if (slot != -1 && skill.IsCastable)
                        {
                            _curseSlots.Add(slot);
                        }
                    }


The exampleroutine is coded to go into melee range if the mob has prox shield and is out of melee range. Make sure you have your melee range set low enough you actually go inside the prox shield.

oh, thanks!
 
Back
Top