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

Sorting Threats According to distance #608

Closed
muratlahur opened this issue Apr 20, 2016 · 1 comment
Closed

Sorting Threats According to distance #608

muratlahur opened this issue Apr 20, 2016 · 1 comment

Comments

@muratlahur
Copy link
Contributor

In your bot find and un-comment the code below

/*allPossibleThreats.sort(function(a, b){ return a.enemyDist-b.enemyDist; })*/

in doing so you will sort the threats according to their distance , when this is used in conjunction with the dynamic threat management , bot becomes very very slippery and almost impossible to eat ..

@FliiFe
Copy link
Collaborator

FliiFe commented Apr 20, 2016

Please see #607.

@FliiFe FliiFe closed this as completed Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants