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:
parent
4a299d4fd8
commit
fec8de23e9
6484
db/mob_skill_db_re.txt
Normal file
6484
db/mob_skill_db_re.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -4246,7 +4246,14 @@ static bool mob_parse_row_mobskilldb(char** str, int columns, int current)
|
|||||||
*------------------------------------------*/
|
*------------------------------------------*/
|
||||||
static void mob_readskilldb(void)
|
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" };
|
const char* filename[] = { "mob_skill_db.txt", "mob_skill_db2.txt" };
|
||||||
|
#endif
|
||||||
int fi;
|
int fi;
|
||||||
|
|
||||||
if( battle_config.mob_skill_rate == 0 )
|
if( battle_config.mob_skill_rate == 0 )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user