summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-06-19 15:25:20 -0300
committershennetsind <ind@henn.et>2013-06-19 15:25:20 -0300
commit2de19107911de4466333d7661efc3c8446f2df38 (patch)
treed6cdf23e8206c1f80020e0b1ea9e17f9da43224c /src/map/skill.h
parent5a298870e080cab4764972ed8ffc573f3e8fd2f8 (diff)
downloadhercules-2de19107911de4466333d7661efc3c8446f2df38.tar.gz
hercules-2de19107911de4466333d7661efc3c8446f2df38.tar.bz2
hercules-2de19107911de4466333d7661efc3c8446f2df38.tar.xz
hercules-2de19107911de4466333d7661efc3c8446f2df38.zip
Skill Tree DB Redesign
http://hercules.ws/board/topic/1188-skill-tree-db-redesign/ Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/skill.h')
-rw-r--r--src/map/skill.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.h b/src/map/skill.h
index cc9ac4bfc..921a682a2 100644
--- a/src/map/skill.h
+++ b/src/map/skill.h
@@ -37,6 +37,7 @@ struct square;
#define MAX_SKILLUNITGROUP 25
#define MAX_SKILL_ITEM_REQUIRE 10
#define MAX_SKILLUNITGROUPTICKSET 25
+#define MAX_SKILL_NAME_LENGTH 30
// (Epoque:) To-do: replace this macro with some sort of skill tree check (rather than hard-coded skill names)
#define skill_ischangesex(id) ( \
@@ -1599,7 +1600,7 @@ struct skill_condition {
// Database skills
struct s_skill_db {
unsigned short nameid;
- char name[NAME_LENGTH];
+ char name[MAX_SKILL_NAME_LENGTH];
char desc[40];
int range[MAX_SKILL_LEVEL],hit,inf,element[MAX_SKILL_LEVEL],nk,splash[MAX_SKILL_LEVEL],max;
int num[MAX_SKILL_LEVEL];