summaryrefslogtreecommitdiff
path: root/players.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-01-07 21:43:18 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-01-07 23:29:49 +0100
commit45d54652a8005ccae2466a0e4757017c7b337e3b (patch)
tree5d13f930c82edeea16d490c39017973e0a85007c /players.c
parentb3295086c84b09353d5e89c6f7c743167b486a49 (diff)
use a team / character model instead of an array of personnages
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'players.c')
-rw-r--r--players.c26
1 files changed, 26 insertions, 0 deletions
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,
+ },
+};