summaryrefslogtreecommitdiff
path: root/src/map/skill.h
diff options
context:
space:
mode:
authorEuphy <euphy@rathena.org>2013-06-20 22:29:03 -0400
committerEuphy <euphy@rathena.org>2013-06-20 22:29:03 -0400
commit86c43fa2e2c164362cae4f3c2d9cf0ccd22bc528 (patch)
treedf955a23899586104e67359dc490891221b2875b /src/map/skill.h
parentcaa8a41b40a5ce3c96eb793619ff75f191ca558b (diff)
parent0f7c29113d7d898150108d66d1358f15bb018e0a (diff)
downloadhercules-86c43fa2e2c164362cae4f3c2d9cf0ccd22bc528.tar.gz
hercules-86c43fa2e2c164362cae4f3c2d9cf0ccd22bc528.tar.bz2
hercules-86c43fa2e2c164362cae4f3c2d9cf0ccd22bc528.tar.xz
hercules-86c43fa2e2c164362cae4f3c2d9cf0ccd22bc528.zip
Merge remote-tracking branch 'upstream/master'
Conflicts: conf/plugins.conf db/pre-re/skill_tree.txt db/re/skill_tree.txt db/sc_config.txt npc/mobs/citycleaners.txt src/map/atcommand.c src/map/battle.c src/map/clif.c src/map/map.c src/map/packets.h src/map/pc.c src/map/script.c src/map/skill.c src/map/status.c src/map/storage.c src/map/trade.h Merged master.
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];