Baret / pltcmd

Control military units only with your radio
MIT License
4 stars 0 forks source link

Issue 155 combat defense #157

Open Loomie opened 3 years ago

Loomie commented 3 years ago

I put up some enums for different states:

All implement the interface DefenseFactor and provide a double value to describe by what amount the hit chance is reduced. Pretty simple.

The factors are created by the CombatEntity. Currently that is pretty basic. It can be used for further additions.