diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2015-05-03 06:14:08 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2015-05-03 06:14:08 +0800 |
commit | ce734bfcd5eb153ea93874b4b94effb5eee91e46 (patch) | |
tree | 98f7645a7d58c66394db9ed30cb711b5426579b5 | |
parent | 4e42c889ee50f233c61d7233a5361a83b51d5248 (diff) | |
download | hercules-ce734bfcd5eb153ea93874b4b94effb5eee91e46.tar.gz hercules-ce734bfcd5eb153ea93874b4b94effb5eee91e46.tar.bz2 hercules-ce734bfcd5eb153ea93874b4b94effb5eee91e46.tar.xz hercules-ce734bfcd5eb153ea93874b4b94effb5eee91e46.zip |
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 <malufett.eat.my.binaries@gmail.com>
-rw-r--r-- | db/pre-re/job_db.conf | 1 | ||||
-rw-r--r-- | db/re/job_db.conf | 1 | ||||
-rw-r--r-- | src/map/status.c | 1 |
3 files changed, 3 insertions, 0 deletions
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]; |