diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-05 08:59:19 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-11-05 08:59:19 +0000 |
commit | d0d24cf90cc9b899bfbead85fb4b48cffc10ce57 (patch) | |
tree | 5f8805240a63e944c3d0f97eb93f08e632e5bc08 /src/tool | |
parent | d45fde3f893468bbd6d9d3c9e164dbffa9f4bc36 (diff) | |
download | hercules-d0d24cf90cc9b899bfbead85fb4b48cffc10ce57.tar.gz hercules-d0d24cf90cc9b899bfbead85fb4b48cffc10ce57.tar.bz2 hercules-d0d24cf90cc9b899bfbead85fb4b48cffc10ce57.tar.xz hercules-d0d24cf90cc9b899bfbead85fb4b48cffc10ce57.zip |
Changed the skill_db.txt skill names in comments into actual columns, now the server reads these instead of a hardcoded array (see topic:170438).
Corrected skill db loading code which was using a totally wrong column count in sevreal cases (or didn't do any checks at all).
Cleaned up skill db lookup code
* added some well-behaved functions to replace macros (skill_get_index)
* used skill_get_index() to replace often occuring blocks of code that did the skill_id -> skilldb_index calculation in-line
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11657 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/tool')
0 files changed, 0 insertions, 0 deletions