diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-11 20:56:11 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-11 20:56:11 +0800 |
commit | 444835e777fbe49959ee8fe99746955018ec45eb (patch) | |
tree | dd9cb494c0434aed0fcd4c41cf42decb2bb1316a /src/map/pc.c | |
parent | 1708b62c12693cf55cdb97092ec7ec6692e8e272 (diff) | |
download | hercules-444835e777fbe49959ee8fe99746955018ec45eb.tar.gz hercules-444835e777fbe49959ee8fe99746955018ec45eb.tar.bz2 hercules-444835e777fbe49959ee8fe99746955018ec45eb.tar.xz hercules-444835e777fbe49959ee8fe99746955018ec45eb.zip |
Fixed Bug#7498
-Where RE equip atk doesn't properly update status window and negative equip atk should now affect atk.
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 87e80c264..28d74cfd1 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -2091,8 +2091,7 @@ int pc_bonus(struct map_session_data *sd,int type,int val) case SP_BASE_ATK: if(sd->state.lr_flag != 2) { #ifdef RENEWAL - sd->bonus.eatk += val; - clif->updatestatus(sd,SP_ATK2); + status->equip_atk += val; #else bonus = status->batk + val; status->batk = cap_value(bonus, 0, USHRT_MAX); |