diff options
Diffstat (limited to 'src/map/battle.h')
-rw-r--r-- | src/map/battle.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h index e7d385b3c..f82e8a3de 100644 --- a/src/map/battle.h +++ b/src/map/battle.h @@ -4,6 +4,13 @@ #ifndef _BATTLE_H_ #define _BATTLE_H_ +// state of a single attack attempt; used in flee/def penalty calculations when mobbed +enum damage_lv { + ATK_LUCKY=1, // attack was lucky-dodged + ATK_FLEE, // attack was dodged + ATK_DEF // attack connected +}; + // _[W struct Damage { int damage,damage2; |