diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-08-30 00:57:14 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-08-30 00:57:14 +0800 |
commit | c11390cbffc983b01ac9ee4af3b16ccb533dd94c (patch) | |
tree | 826ba089e2b23d4a584ff6c8ad5140361bc6ea57 /src/map/status.c | |
parent | 1ba8caf3b72da0501b3d3eb72294a3f25bdd31ed (diff) | |
download | hercules-c11390cbffc983b01ac9ee4af3b16ccb533dd94c.tar.gz hercules-c11390cbffc983b01ac9ee4af3b16ccb533dd94c.tar.bz2 hercules-c11390cbffc983b01ac9ee4af3b16ccb533dd94c.tar.xz hercules-c11390cbffc983b01ac9ee4af3b16ccb533dd94c.zip |
Follow up @ cccc5bc9256b196b1f4e9ad881838ad32c8b3424
-Bonus 'bLongAtkRate' is not working properly.
RE Updates
-Added missing atk bonus of BS_HILTBINDING and removed unnecessary hit bonus of BS_WEAPONRESEARCH.
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c index 2d68bf28e..014bcabf7 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -2900,8 +2900,10 @@ int status_calc_pc_(struct map_session_data* sd, bool first) // ----- HIT CALCULATION ----- // Absolute modifiers from passive skills - if((skill=pc->checkskill(sd,BS_WEAPONRESEARCH))>0) +#ifndef RENEWAL + if((skill=pc->checkskill(sd,BS_WEAPONRESEARCH))>0) // is this correct in pre? there is already hitrate bonus in battle.c status->hit += skill*2; +#endif if((skill=pc->checkskill(sd,AC_VULTURE))>0){ #ifndef RENEWAL status->hit += skill; |