diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-10 21:08:22 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-10 21:08:22 +0100 |
commit | d98cf9e97a61b175649fa9fe656cb8ec2874686c (patch) | |
tree | e0562dd314123c713ae8127964529960e31b8bcc /actions.c | |
parent | 4a0235f95dac85068cf3654ef95832608b3cdc49 (diff) |
added esuna
for now on, the cast only cures poison
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'actions.c')
-rw-r--r-- | actions.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -203,3 +203,14 @@ void cyanure(SURFACES *surfaces, POSITIONS *positions, struct character_t *src, damage_target_hp(surfaces, positions, target, target->max_hp / 4); target->poisoned = true; } + +void esuna(SURFACES *surfaces, POSITIONS *positions, struct character_t *src, struct target_t *dest, void *data) +{ + (void) surfaces; + (void) positions; + (void) src; + (void) data; + + /* TODO cure every state and not only poison */ + dest->chr->poisoned = false; +} |