summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDastgir Pojee <dastgirp@gmail.com>2016-10-03 19:21:10 +0530
committerhemagx <ibrahem.h.basyone@gmail.com>2016-10-22 02:22:13 +0200
commit15030cc995b0b6ae0e48fec59b016ecac60ed4fb (patch)
tree537c19016523477f0de83568ddfb01628d918509
parent52bd4a502c919e789e8900820423a49a4343b3d7 (diff)
downloadhercules-15030cc995b0b6ae0e48fec59b016ecac60ed4fb.tar.gz
hercules-15030cc995b0b6ae0e48fec59b016ecac60ed4fb.tar.bz2
hercules-15030cc995b0b6ae0e48fec59b016ecac60ed4fb.tar.xz
hercules-15030cc995b0b6ae0e48fec59b016ecac60ed4fb.zip
Increases SkillID Range on skill_get_index.
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 73154d3ae..4ba8b34ef 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -131,7 +131,7 @@ int skill_get_index (uint16 skill_id)
skill_id = (1077) + skill_id - 2201;
else if ( skill_id < 3036 ) // 2549 - 3000 are empty - 1020+57+348
skill_id = (1425) + skill_id - 3001;
- else if ( skill_id < 5019 ) // 3036 - 5000 are empty - 1020+57+348+35
+ else if ( skill_id < 5044 ) // 3036 - 5000 are empty - 1020+57+348+35
skill_id = (1460) + skill_id - 5001;
else
ShowWarning("skill_get_index: skill id '%d' is not being handled!\n",skill_id);