forked from NotAShelf/rogged
combat: tune damage math and enemy scaling
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I983d5980f8d14ccebc6b681100af8a146a6a6964
This commit is contained in:
parent
ee116ef33f
commit
1875d94e44
3 changed files with 34 additions and 14 deletions
|
|
@ -95,6 +95,8 @@ typedef struct {
|
|||
int resistance[NUM_DMG_CLASSES];
|
||||
DamageClass dmg_class;
|
||||
int status_chance;
|
||||
int crit_chance; // crit chance percentage (0-100)
|
||||
int crit_mult; // crit damage multiplier percentage (e.g. 150 = 1.5x)
|
||||
// status effects
|
||||
StatusEffect effects[MAX_EFFECTS];
|
||||
int effect_count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue