diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 23:06:43 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-01-07 23:32:29 +0100 |
commit | 92dc9315b9bb8576373b1f2325a049dd5490a9f6 (patch) | |
tree | bfcf7ed35d786444a035f33904d817e041311913 /players.h | |
parent | 8218792cbbd00da3530826330270a20906fefad5 (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 { |