diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-30 08:55:22 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2010-11-30 08:55:22 +0000 |
commit | fd435430623c01ec109f506c9afd1e3b46c03e7d (patch) | |
tree | 486ccda694a57891a8591347089905203d345d1c /src/map/pc.h | |
parent | 1a71202b477c6820b9193a1131a61c3c7b005924 (diff) | |
download | hercules-fd435430623c01ec109f506c9afd1e3b46c03e7d.tar.gz hercules-fd435430623c01ec109f506c9afd1e3b46c03e7d.tar.bz2 hercules-fd435430623c01ec109f506c9afd1e3b46c03e7d.tar.xz hercules-fd435430623c01ec109f506c9afd1e3b46c03e7d.zip |
* Made skill_tree.txt reading use sv_readdb. [Ai4rei]
- Added define for skill entry requirements.
- Reports duplicate skills within same job class.
- Updated comments for skill Berserk in skill_tree.txt, among others because they would cause errors the way they are read now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14524 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.h')
-rw-r--r-- | src/map/pc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/pc.h b/src/map/pc.h index 5dbff7e23..4a9c17f3a 100644 --- a/src/map/pc.h +++ b/src/map/pc.h @@ -17,6 +17,7 @@ #include "mob.h" #define MAX_PC_BONUS 10 +#define MAX_PC_SKILL_REQUIRE 5 #define MAX_PC_FEELHATE 3 struct weapon_data { @@ -722,7 +723,7 @@ struct skill_tree_entry { struct { short id; unsigned char lv; - } need[5]; + } need[MAX_PC_SKILL_REQUIRE]; }; // Celest extern struct skill_tree_entry skill_tree[CLASS_COUNT][MAX_SKILL_TREE]; |