diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-26 09:16:50 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-26 09:16:50 +0000 |
commit | 5d35f372f696e3aa3a40734066d5127835baa3d0 (patch) | |
tree | 6c1c82c5229ed37d88fa52928833fbcc76e25198 /src/map/skill.c | |
parent | 3360d890f130c89878bea401c92cbcaeec3eeee6 (diff) | |
download | hercules-5d35f372f696e3aa3a40734066d5127835baa3d0.tar.gz hercules-5d35f372f696e3aa3a40734066d5127835baa3d0.tar.bz2 hercules-5d35f372f696e3aa3a40734066d5127835baa3d0.tar.xz hercules-5d35f372f696e3aa3a40734066d5127835baa3d0.zip |
Added support for Renewal Mode exclusive skill files, as per Kenpachi request
-- Entries in skill_<whatever>_db_re.txt safely overrides entries in its non_re.txt versions.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15284 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 43abfbcd9..f834f430e 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -14296,6 +14296,12 @@ static void skill_readdb(void) sv_readdb(db_path, "skill_castnodex_db.txt", ',', 2, 3, MAX_SKILL_DB, skill_parse_row_castnodexdb); sv_readdb(db_path, "skill_nocast_db.txt" , ',', 2, 2, MAX_SKILL_DB, skill_parse_row_nocastdb); sv_readdb(db_path, "skill_unit_db.txt" , ',', 8, 8, MAX_SKILL_DB, skill_parse_row_unitdb); +#if REMODE + sv_readdb(db_path, "skill_db_re.txt" , ',', 17, 17, MAX_SKILL_DB, skill_parse_row_skilldb); + sv_readdb(db_path, "skill_require_db_re.txt" , ',', 32, 32, MAX_SKILL_DB, skill_parse_row_requiredb); + sv_readdb(db_path, "skill_cast_db_re.txt" , ',', 7, 7, MAX_SKILL_DB, skill_parse_row_castdb); + sv_readdb(db_path, "skill_unit_db_re.txt" , ',', 8, 8, MAX_SKILL_DB, skill_parse_row_unitdb); +#endif skill_init_unit_layout(); sv_readdb(db_path, "produce_db.txt" , ',', 4, 4+2*MAX_PRODUCE_RESOURCE, MAX_SKILL_PRODUCE_DB, skill_parse_row_producedb); sv_readdb(db_path, "create_arrow_db.txt" , ',', 1+2, 1+2*MAX_ARROW_RESOURCE, MAX_SKILL_ARROW_DB, skill_parse_row_createarrowdb); |