diff options
author | Chuck Miller <shadowmil@gmail.com> | 2009-07-03 22:54:09 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2009-07-03 22:54:09 -0400 |
commit | c8772d145ea5db993a0d9ebc78f55b977dab1973 (patch) | |
tree | 0817c3a21692f7b7c06917e196b042639181bcbd /src/defines.h | |
parent | 16c8bad4bd1fd32cae60d15e55468d1a2be82d6e (diff) | |
download | manaserv-c8772d145ea5db993a0d9ebc78f55b977dab1973.tar.gz manaserv-c8772d145ea5db993a0d9ebc78f55b977dab1973.tar.bz2 manaserv-c8772d145ea5db993a0d9ebc78f55b977dab1973.tar.xz manaserv-c8772d145ea5db993a0d9ebc78f55b977dab1973.zip |
Makes Skills non hard coded
It should be noted that Jax still needs to update the client
Level calulation seems broken now too
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/defines.h b/src/defines.h index 3ca66bfe..69e0915b 100644 --- a/src/defines.h +++ b/src/defines.h @@ -449,7 +449,6 @@ enum /** * Attributes of characters. Used to derive being attributes. - * Please keep weapon skills in sync with item weapon types. */ enum { @@ -462,40 +461,6 @@ enum CHAR_ATTR_WILLPOWER, CHAR_ATTR_END, CHAR_ATTR_NB = CHAR_ATTR_END - CHAR_ATTR_BEGIN, - - CHAR_SKILL_BEGIN = CHAR_ATTR_END, - - CHAR_SKILL_WEAPON_BEGIN = CHAR_SKILL_BEGIN, - CHAR_SKILL_WEAPON_NONE = CHAR_SKILL_WEAPON_BEGIN, - CHAR_SKILL_WEAPON_KNIFE, - CHAR_SKILL_WEAPON_SWORD, - CHAR_SKILL_WEAPON_POLEARM, - CHAR_SKILL_WEAPON_STAFF, - CHAR_SKILL_WEAPON_WHIP, - CHAR_SKILL_WEAPON_BOW, - CHAR_SKILL_WEAPON_SHOOTING, - CHAR_SKILL_WEAPON_MACE, - CHAR_SKILL_WEAPON_AXE, - CHAR_SKILL_WEAPON_THROWN, - CHAR_SKILL_WEAPON_END, - CHAR_SKILL_WEAPON_NB = CHAR_SKILL_WEAPON_END - CHAR_SKILL_WEAPON_BEGIN, - - CHAR_SKILL_MAGIC_BEGIN = CHAR_SKILL_WEAPON_END, - CHAR_SKILL_MAGIC_IAMJUSTAPLACEHOLDER = CHAR_SKILL_MAGIC_BEGIN, - // add magic skills here - CHAR_SKILL_MAGIC_END, - CHAR_SKILL_MAGIC_NB = CHAR_SKILL_MAGIC_END - CHAR_SKILL_MAGIC_BEGIN, - - CHAR_SKILL_CRAFT_BEGIN = CHAR_SKILL_MAGIC_END, - CHAR_SKILL_CRAFT_IAMJUSTAPLACEHOLDER = CHAR_SKILL_CRAFT_BEGIN, - // add crafting skills here - CHAR_SKILL_CRAFT_END, - CHAR_SKILL_CRAFT_NB = CHAR_SKILL_CRAFT_END - CHAR_SKILL_CRAFT_BEGIN, - - CHAR_SKILL_END = CHAR_SKILL_CRAFT_END, - CHAR_SKILL_NB = CHAR_SKILL_END - CHAR_SKILL_BEGIN, - - NB_CHARACTER_ATTRIBUTES = CHAR_SKILL_END }; #endif // _TMWSERV_DEFINES_H_ |