Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mercenary routines missing some defensives? #18

Open
pjmagee opened this issue Jan 22, 2016 · 1 comment
Open

Mercenary routines missing some defensives? #18

pjmagee opened this issue Jan 22, 2016 · 1 comment

Comments

@pjmagee
Copy link

pjmagee commented Jan 22, 2016

I.E Jet Out and Jet Boost are not used as part of cooldowns?

Could add something like so:

 // Push back melee damage
Spell.Buff("Jet Boost", ret => Me.EnemiesAttackers.Count(x => x.Distance <= 5 && x.HasMeleeWeapon) > 2),
// Escape for distance
Spell.Buff("Jet Out", ret => Me.Level >= 61 && Me.HealthPercent <= 20 && Me.EnemiesAttackers.Count(attacker => attacker.Distance <= 5 && attacker.HasMeleeWeapon) > 2),
@Logandros
Copy link
Collaborator

Great idea but could/would be problematic if you need to stay in a certain spot, could potentially throw you off a platform, bridge, or ledge etc. A few fights come to mind that this would be really bad. DefaultCombat by default is designed with the presumption that the user is controlling the movement, this is why we allow for enable / disable on charge. We could do it by function (disabled by default) but the bot is already bloated with functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants