summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirpojee@rocketmail.com>2013-10-12 10:28:47 +0530
committerDastgir Pojee <dastgirpojee@rocketmail.com>2013-10-12 10:28:47 +0530
commitc87513dacd51726390fc28b4d96f385f89c872ac (patch)
tree02bc6fd4112691eff87de39c8cc3106f6f8f1608 /src/map/skill.c
parentd3d3fcdb60a03749aa927c4d9b8bf1e710e3d3b6 (diff)
downloadhercules-c87513dacd51726390fc28b4d96f385f89c872ac.tar.gz
hercules-c87513dacd51726390fc28b4d96f385f89c872ac.tar.bz2
hercules-c87513dacd51726390fc28b4d96f385f89c872ac.tar.xz
hercules-c87513dacd51726390fc28b4d96f385f89c872ac.zip
Skill ID Constant Added
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 70e946119..aed01b1f7 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -17611,6 +17611,7 @@ bool skill_parse_row_skilldb(char* split[], int columns, int current) {
safestrncpy(skill->db[idx].name, trim(split[15]), sizeof(skill->db[idx].name));
safestrncpy(skill->db[idx].desc, trim(split[16]), sizeof(skill->db[idx].desc));
strdb_iput(skill->name2id_db, skill->db[idx].name, skill_id);
+ script->set_constant2(skill->db[idx].name,(int)skill_id,0);
return true;
}