diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-30 17:37:24 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-12-30 17:37:24 +0000 |
commit | a1055a87464b0a396ad627dcb998909b2b766356 (patch) | |
tree | db694f1f789be1df18bb9985b90e9d7dc0098158 /src | |
parent | 296c89017a4dc3fcf6ccad304b4e325c944dabbc (diff) | |
download | hercules-a1055a87464b0a396ad627dcb998909b2b766356.tar.gz hercules-a1055a87464b0a396ad627dcb998909b2b766356.tar.bz2 hercules-a1055a87464b0a396ad627dcb998909b2b766356.tar.xz hercules-a1055a87464b0a396ad627dcb998909b2b766356.zip |
Added support for mob_skill_db_re.txt due to bugreport:5183
I'll take some time to write documentation on how all these crap works in the wiki now =p
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15333 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index af5db12d7..fc8aaec56 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -4246,7 +4246,14 @@ static bool mob_parse_row_mobskilldb(char** str, int columns, int current) *------------------------------------------*/ static void mob_readskilldb(void) { + /** + * Due to the way mob_skill_db is made entries cannot be overriden, only stacked, so this is the only case we use a full db file on renewal + **/ +#if REMODE + const char* filename[] = { "mob_skill_db_re.txt", "mob_skill_db2.txt" }; +#else const char* filename[] = { "mob_skill_db.txt", "mob_skill_db2.txt" }; +#endif int fi; if( battle_config.mob_skill_rate == 0 ) |