diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-10 00:14:19 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-10 00:14:19 +0100 |
commit | 30842cc79c0a3e3566e9da61f2499fa1342c6d52 (patch) | |
tree | dfe75cbb35d217389ae2c8ec8dfea52f7c50c20d /actions.h | |
parent | c870c8f03ffc7b78bca72dc9d7de7fd5305cf4f2 (diff) |
added "Defend" action
physical and magical damages are divided by 2 when a character is on
defensive state.
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'actions.h')
-rw-r--r-- | actions.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,5 +10,6 @@ void cast_element(SURFACES *, POSITIONS *, struct character_t *src, struct targe void cast_cure(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); void use_potion(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); void use_ether(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); +void defend(SURFACES *, POSITIONS *, struct character_t *src, struct target_t *dst, void *data); #endif /* ACTIONS_H */ |