summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-11 14:32:05 -0300
committershennetsind <ind@henn.et>2013-07-11 14:32:05 -0300
commit0a1c06b267e549877e0617fe19963b5b7c8c937c (patch)
tree228ab350473b07154d4bcf0ead0d93f163f6d6a8 /src/map/pc.c
parente3761a81ba4c941ba04a2b6b1f161a6e1402ebe9 (diff)
parent0683c5f38cdefa3735c3d0abc1b74abaa68cf5c4 (diff)
downloadhercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.tar.gz
hercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.tar.bz2
hercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.tar.xz
hercules-0a1c06b267e549877e0617fe19963b5b7c8c937c.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 0bd593930..84cfe7eb3 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);