Implementation of damage calculation.
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2019-11-05 14:31:54 +01:00
parent db2a577a85
commit 1848d7b617
8 changed files with 121 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ namespace CreatureLib::Battling {
inline void SetCritical(bool value) {_critical = value;}
inline void SetBasePower(uint8_t value) { _basePower = value; }
inline void SetEffectiveness(float value) {_effectiveness = value;}
inline void OverrideDamage(uint32_t value) {_damage = value;}
inline void SetDamage(uint32_t value) { _damage = value;}
inline void SetType(uint8_t value) {_type = value;}
};