From ce734bfcd5eb153ea93874b4b94effb5eee91e46 Mon Sep 17 00:00:00 2001 From: malufett Date: Sun, 3 May 2015 06:14:08 +0800 Subject: Fixed Bug#8652 -http://hercules.ws/board/tracker/issue-8652-sp-again/?gopid=25092#entry25092 -Added missing weight factor of Minstrel/Wanderer. Thanks Michi Signed-off-by: malufett --- src/map/status.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map') diff --git a/src/map/status.c b/src/map/status.c index 0b406850e..bf886b875 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -12110,6 +12110,7 @@ void status_read_job_db_sub(int idx, const char *name, config_setting_t *jdb) for ( ; w <= pc->max_level[idx][0]; w++) { status->HP_table[idx][w] = min(ave * w, battle_config.max_hp); } + total = 0; for (w = 1; w <= MAX_LEVEL && status->SP_table[iidx][w]; w++) { status->SP_table[idx][w] = status->SP_table[iidx][w]; total += status->SP_table[idx][w] - status->SP_table[idx][w - 1]; -- cgit v1.2.3-70-g09d2