From 30842cc79c0a3e3566e9da61f2499fa1342c6d52 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Sat, 10 Jan 2015 00:14:19 +0100 Subject: added "Defend" action physical and magical damages are divided by 2 when a character is on defensive state. Signed-off-by: Olivier Gayot --- players.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'players.h') diff --git a/players.h b/players.h index 062bde5..5d535bf 100644 --- a/players.h +++ b/players.h @@ -36,6 +36,8 @@ struct character_t { bool alive; + bool defensive; + int hp; int max_hp; int mp; -- cgit v1.2.3