diff options
Diffstat (limited to 'actions.c')
-rw-r--r-- | actions.c | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -192,3 +192,14 @@ void use_ether(SURFACES *surfaces, POSITIONS *positions, struct character_t *src { __use_ether(surfaces, positions, src, dest->chr, *((int *)data)); } + +void cyanure(SURFACES *surfaces, POSITIONS *positions, struct character_t *src, struct target_t *dest, void *data) +{ + struct character_t *target = dest->chr; + + (void) data; + (void) src; + + damage_target_hp(surfaces, positions, target, target->max_hp / 4); + target->poisoned = true; +} |