diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2014-10-30 22:52:08 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2014-10-30 22:52:08 +0800 |
commit | 72e18cdf9b612c476dd9ab2d45394c5e882e7dd1 (patch) | |
tree | 8926a1fab317842d999689e34dcbb79054e32210 /src/map/pc.c | |
parent | c5173e0a294b653d0781851e6bb1d09d54cc6085 (diff) | |
download | hercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.tar.gz hercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.tar.bz2 hercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.tar.xz hercules-72e18cdf9b612c476dd9ab2d45394c5e882e7dd1.zip |
Fixed Bug#8012
-http://hercules.ws/board/tracker/issue-8012-bonus-bvariablecastrate-and-bfixedcastrate-not-working-properly/?gopid=21893#entry21893
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 840891054..f07858ca6 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3102,11 +3102,11 @@ int pc_bonus2(struct map_session_data *sd,int type,int type2,int val) } if(sd->skillfixcastrate[i].id == type2) - sd->skillfixcastrate[i].val += val; + sd->skillfixcastrate[i].val -= val; else { sd->skillfixcastrate[i].id = type2; - sd->skillfixcastrate[i].val = val; + sd->skillfixcastrate[i].val -= val; } break; |