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 --- db/pre-re/job_db.conf | 1 + db/re/job_db.conf | 1 + src/map/status.c | 1 + 3 files changed, 3 insertions(+) diff --git a/db/pre-re/job_db.conf b/db/pre-re/job_db.conf index c07c0a767..1deaa826b 100644 --- a/db/pre-re/job_db.conf +++ b/db/pre-re/job_db.conf @@ -1073,6 +1073,7 @@ Sorcerer: { 7878, 7987, 8097, 8207, 8318, 8429, 8541, 8654, 8768, 8883] // 141 - 150 } Minstrel: { + Weight: 32000 Inherit: ("Ranger") BaseASPD: { Fist: 400 diff --git a/db/re/job_db.conf b/db/re/job_db.conf index 498dad9fb..47f543793 100644 --- a/db/re/job_db.conf +++ b/db/re/job_db.conf @@ -1305,6 +1305,7 @@ Sorcerer: { 11301, 11433, 11566, 11700, 11835] // 171 - 175 } Minstrel: { + Weight: 32000 BaseASPD: { Fist: 40 Dagger: 52 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