summaryrefslogtreecommitdiff
path: root/actions.c
diff options
context:
space:
mode:
Diffstat (limited to 'actions.c')
-rw-r--r--actions.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/actions.c b/actions.c
index 9f02ef2..5ab45b4 100644
--- a/actions.c
+++ b/actions.c
@@ -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;
+}