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

Threat system, smarter targeting #3

Open
BillyWM opened this issue Mar 26, 2011 · 0 comments
Open

Threat system, smarter targeting #3

BillyWM opened this issue Mar 26, 2011 · 0 comments

Comments

@BillyWM
Copy link
Owner

BillyWM commented Mar 26, 2011

Targeting is currently dumb - picks first enemy it can find. This often is one way off the screen - will walk to enemy, leaving itself open to attack from other one.

Calculate a threat value based on multiple weighted factors:

  • Distance from player
  • Whether enemy is holding item (haven't found memory addr for this)
  • Whether enemy attacked recently (aggressiveness)
  • Kind of item held (Maybe. Not terribly important)
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

1 participant