summaryrefslogtreecommitdiff
path: root/players.h
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 23:06:43 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 23:32:29 +0100
commit92dc9315b9bb8576373b1f2325a049dd5490a9f6 (patch)
treebfcf7ed35d786444a035f33904d817e041311913 /players.h
parent8218792cbbd00da3530826330270a20906fefad5 (diff)
generate the affinities during the creation of the characters
do not differenciate between the players and the enemies as well Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'players.h')
-rw-r--r--players.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/players.h b/players.h
index 7d7b42c..6097d2c 100644
--- a/players.h
+++ b/players.h
@@ -39,6 +39,9 @@ struct character_t {
int strength;
int defense;
int spirit;
+
+ /* one for each element */
+ enum affinity_t affinities[AFFINITY_COUNT];
};
struct team_t {