From 45d54652a8005ccae2466a0e4757017c7b337e3b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Wed, 7 Jan 2015 21:43:18 +0100 Subject: use a team / character model instead of an array of personnages Signed-off-by: Olivier Gayot --- players.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 players.c (limited to 'players.c') diff --git a/players.c b/players.c new file mode 100644 index 0000000..12aae80 --- /dev/null +++ b/players.c @@ -0,0 +1,26 @@ +#include "players.h" + +struct stats_base_class_t base_stats_g[CLASS_CNT] = { + [CLASS_PALADIN] = { + .hp = 1500, + .mp = 40, + .strength = 20, + .magic = 5, + .defense = 15, + .spirit = 15, + }, [CLASS_PRIEST] = { + .hp = 1000, + .mp = 60, + .strength = 5, + .magic = 20, + .defense = 10, + .spirit = 20, + }, [CLASS_THIEF] = { + .hp = 1250, + .mp = 40, + .strength = 14, + .magic = 11, + .defense = 15, + .spirit = 15, + }, +}; -- cgit v1.2.3