aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-09-12 14:14:09 +0200
committernsensfel <SpamShield0@noot-noot.org>2019-09-12 14:14:09 +0200
commit81bc9e28ed8569bfab3c8c3ac3ec07009986b261 (patch)
tree34e683b621c5bd523e436d8fb185e3815793bde6
parent15b3e51ee489c0b18497fed0824539cf2b40fd3d (diff)
downloadtacticians-server-81bc9e28ed8569bfab3c8c3ac3ec07009986b261.zip
tacticians-server-81bc9e28ed8569bfab3c8c3ac3ec07009986b261.tar.bz2
Links MIN/MAX to tacticians-data.
-rw-r--r--include/tacticians/attributes.hrl.m433
1 files changed, 17 insertions, 16 deletions
diff --git a/include/tacticians/attributes.hrl.m4 b/include/tacticians/attributes.hrl.m4
index 7acfc25..4990a20 100644
--- a/include/tacticians/attributes.hrl.m4
+++ b/include/tacticians/attributes.hrl.m4
@@ -1,50 +1,51 @@
m4_include(__MAKEFILE_DATA_DIR/names.m4.conf)
+m4_include(__MAKEFILE_DATA_DIR/attributes.m4.conf)
-define(ATTRIBUTE_DAMAGE_MODIFIER, __SN_DAMAGE_MODIFIER).
--define(ATTRIBUTE_DAMAGE_MODIFIER_MIN, 0).
--define(ATTRIBUTE_DAMAGE_MODIFIER_MAX, 300).
+-define(ATTRIBUTE_DAMAGE_MODIFIER_MIN, __ATT_DAMAGE_MODIFIER_MIN).
+-define(ATTRIBUTE_DAMAGE_MODIFIER_MAX, __ATT_DAMAGE_MODIFIER_MAX).
-define(ATTRIBUTE_DAMAGE_MODIFIER_DEFAULT, 100).
-define(ATTRIBUTE_DAMAGE_MODIFIER_COST, 10).
-define(ATTRIBUTE_MOVEMENT_POINTS, __SN_MOVEMENT_POINTS).
--define(ATTRIBUTE_MOVEMENT_POINTS_MIN, 8).
--define(ATTRIBUTE_MOVEMENT_POINTS_MAX, 200).
+-define(ATTRIBUTE_MOVEMENT_POINTS_MIN, __ATT_MOVEMENT_POINTS_MIN).
+-define(ATTRIBUTE_MOVEMENT_POINTS_MAX, __ATT_MOVEMENT_POINTS_MAX).
-define(ATTRIBUTE_MOVEMENT_POINTS_DEFAULT, 32).
-define(ATTRIBUTE_MOVEMENT_POINTS_COST, 10).
-define(ATTRIBUTE_HEALTH, __SN_MAX_HEALTH).
--define(ATTRIBUTE_HEALTH_MIN, 1).
--define(ATTRIBUTE_HEALTH_MAX, 500).
+-define(ATTRIBUTE_HEALTH_MIN, __ATT_MAX_HEALTH_MIN).
+-define(ATTRIBUTE_HEALTH_MAX, __ATT_MAX_HEALTH_MAX).
-define(ATTRIBUTE_HEALTH_DEFAULT, 100).
-define(ATTRIBUTE_HEALTH_COST, 10).
-define(ATTRIBUTE_DODGE_CHANCE, __SN_DODGE).
--define(ATTRIBUTE_DODGE_CHANCE_MIN, 0).
--define(ATTRIBUTE_DODGE_CHANCE_MAX, 175).
+-define(ATTRIBUTE_DODGE_CHANCE_MIN, __ATT_DODGE_MIN).
+-define(ATTRIBUTE_DODGE_CHANCE_MAX, __ATT_DODGE_MAX).
-define(ATTRIBUTE_DODGE_CHANCE_DEFAULT, 50).
-define(ATTRIBUTE_DODGE_CHANCE_COST, 10).
-define(ATTRIBUTE_PARRY_CHANCE, __SN_PARRY).
--define(ATTRIBUTE_PARRY_CHANCE_MIN, 0).
--define(ATTRIBUTE_PARRY_CHANCE_MAX, 100).
+-define(ATTRIBUTE_PARRY_CHANCE_MIN, __ATT_PARRY_MIN).
+-define(ATTRIBUTE_PARRY_CHANCE_MAX, __ATT_PARRY_MAX).
-define(ATTRIBUTE_PARRY_CHANCE_DEFAULT, 5).
-define(ATTRIBUTE_PARRY_CHANCE_COST, 10).
-define(ATTRIBUTE_ACCURACY, __SN_ACCURACY).
--define(ATTRIBUTE_ACCURACY_MIN, 0).
--define(ATTRIBUTE_ACCURACY_MAX, 100).
+-define(ATTRIBUTE_ACCURACY_MIN, __ATT_ACCURACY_MIN).
+-define(ATTRIBUTE_ACCURACY_MAX, __ATT_ACCURACY_MAX).
-define(ATTRIBUTE_ACCURACY_DEFAULT, 50).
-define(ATTRIBUTE_ACCURACY_COST, 10).
-define(ATTRIBUTE_DOUBLE_HIT_CHANCE, __SN_DOUBLE_HITS).
--define(ATTRIBUTE_DOUBLE_HIT_CHANCE_MIN, 0).
--define(ATTRIBUTE_DOUBLE_HIT_CHANCE_MAX, 100).
+-define(ATTRIBUTE_DOUBLE_HIT_CHANCE_MIN, __ATT_DOUBLE_HITS_MIN).
+-define(ATTRIBUTE_DOUBLE_HIT_CHANCE_MAX, __ATT_DOUBLE_HITS_MAX).
-define(ATTRIBUTE_DOUBLE_HIT_CHANCE_DEFAULT, 5).
-define(ATTRIBUTE_DOUBLE_HIT_CHANCE_COST, 10).
-define(ATTRIBUTE_CRITICAL_HIT_CHANCE, __SN_CRITICAL_HIT).
--define(ATTRIBUTE_CRITICAL_HIT_CHANCE_MIN, 0).
--define(ATTRIBUTE_CRITICAL_HIT_CHANCE_MAX, 100).
+-define(ATTRIBUTE_CRITICAL_HIT_CHANCE_MIN, __ATT_CRITICAL_HIT_MIN).
+-define(ATTRIBUTE_CRITICAL_HIT_CHANCE_MAX, __ATT_CRITICAL_HIT_MAX).
-define(ATTRIBUTE_CRITICAL_HIT_CHANCE_DEFAULT, 10).
-define(ATTRIBUTE_CRITICAL_HIT_CHANCE_COST, 10).