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

Hit chances based on agents' stats #370

merged 1 commit into from Oct 10, 2018

Hit chances based on agents' stats #370

merged 1 commit into from Oct 10, 2018


Copy link

@ozkriff ozkriff commented Oct 9, 2018

This PR adds attack_accuracy and dodge stats to Agent component and uses these fields for some basic hit chances math.

Wounded agents become less accurate in attacks.

Attacks with strength > 1 have additional hit chances - with reduced damage (each strength point gives 10% hit chance impovement).


Related to ozkriff/zemeroth_assets@69e6fb3

Closes #348

@ozkriff ozkriff merged commit e003bf8 into master Oct 10, 2018
@ozkriff ozkriff deleted the i348_hit_chance_math branch October 10, 2018 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant