Skip to content

Hit chances based on agents' stats - #370

Merged
ozkriff merged 1 commit into
masterfrom
i348_hit_chance_math
Oct 10, 2018
Merged

Hit chances based on agents' stats#370
ozkriff merged 1 commit into
masterfrom
i348_hit_chance_math

Conversation

@ozkriff

@ozkriff ozkriff commented Oct 9, 2018

Copy link
Copy Markdown
Owner

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).

demo

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant