From a1055a87464b0a396ad627dcb998909b2b766356 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 30 Dec 2011 17:37:24 +0000 Subject: 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 --- src/map/mob.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/map/mob.c') 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 ) -- cgit v1.2.3-70-g09d2