diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 20:55:09 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-02-13 20:55:09 +0000 |
commit | 703867fcfd5e4040c354d39b9a850789ed3de812 (patch) | |
tree | dc567fae573a52f71f8b78bbf576654de7177802 /src/map/pc.c | |
parent | 13c3b8e817abaddba678717d5428844607dbf487 (diff) | |
download | hercules-703867fcfd5e4040c354d39b9a850789ed3de812.tar.gz hercules-703867fcfd5e4040c354d39b9a850789ed3de812.tar.bz2 hercules-703867fcfd5e4040c354d39b9a850789ed3de812.tar.xz hercules-703867fcfd5e4040c354d39b9a850789ed3de812.zip |
- Pet eggs won't be deleted upon selection for hatching, but on pet data retrieval now.
- Added check to pc_readdb to printout if a certain job is missing it's experience table.
- Added Job_Wedding to db/const.txt
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5272 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 11fe0d53c..e4085c48f 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -8164,6 +8164,15 @@ int pc_readdb(void) }
}
fclose(fp);
+ for (i = 0; i < MAX_PC_CLASS; i++) {
+ if (!pcdb_checkid(i)) continue;
+ if (i == JOB_WEDDING || i == JOB_XMAS)
+ continue; //Classes that do not need exp tables.
+ if (!max_level[i][0])
+ ShowWarning("Class %s (%d) does not has a base exp table.\n", job_name(i), i);
+ if (!max_level[i][1])
+ ShowWarning("Class %s (%d) does not has a job exp table.\n", job_name(i), i);
+ }
ShowStatus("Done reading '"CL_WHITE"%s"CL_RESET"'.\n","exp.txt");
// スキルツリ?
|