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 /src | |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/status.c | 1 |
1 files changed, 1 insertions, 0 deletions
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]; |