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://svn.code.sf.net/p/rathena/svn/trunk@15333 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shennetsind 2011-12-30 17:37:24 +00:00
parent 4a299d4fd8
commit fec8de23e9
2 changed files with 6491 additions and 0 deletions

6484
db/mob_skill_db_re.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@ -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 )