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

Dynamic Threat Management #606

Closed
muratlahur opened this issue Apr 20, 2016 · 2 comments
Closed

Dynamic Threat Management #606

muratlahur opened this issue Apr 20, 2016 · 2 comments

Comments

@muratlahur
Copy link
Contributor

var splitDangerDistance = (allPossibleThreats0[i].size + 930) / Math.sqrt(badAngles.length + 1); var normalDangerDistance = (allPossibleThreats0[i].size + 200) / Math.sqrt(badAngles.length + 0.8);

If you change your codes into this , now the split danger distance and the normal danger distance of the enemies will be reduced if there are more of them around , so if a few of them squeeze you the bot kinda gives-in from the danger distances and gets loads of headroom

N-Joy

@ermiyaeskandary ermiyaeskandary changed the title here we go , brilliance pours down (DYNAMIC THREAT MANAGEMENT) Dynamic Threat Management Apr 20, 2016
@ermiyaeskandary
Copy link
Contributor

Needs testing.

@FliiFe
Copy link
Collaborator

FliiFe commented Apr 20, 2016

@muratlahur Please see #607

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

3 participants