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


None yet
1 participant
Copy link

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

4 checks passed

continuous-integration/appveyor/branch AppVeyor build succeeded
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed

@ozkriff ozkriff deleted the i348_hit_chance_math branch Oct 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.