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

Potential Damage Counter #263

Open
Segelzwerg opened this issue May 1, 2020 · 0 comments
Open

Potential Damage Counter #263

Segelzwerg opened this issue May 1, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@Segelzwerg
Copy link
Collaborator

Segelzwerg commented May 1, 2020

Description

Each character (NPCs&Player) need a counter that sums the potential damage. Meaning every time a character starts an action that can inflect damage it should add it's potential to that counter. The counter will be reset every n frames.

Why

This way AIs can learn why damage is dealt to them. Otherwise they will receive damage but can not learn why this is happening.

Healing

When causing potential damage increase the counter healing should decrease it.

@Segelzwerg Segelzwerg added the enhancement New feature or request label May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant