summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-05 14:13:26 +0000
committerglighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-12-05 14:13:26 +0000
commit4d0d981ae30ca3b643e8727e2e5087b957e5d27a (patch)
tree3842a643265d4992875707782d83117144316ad2 /src/map/clif.c
parent13e152b1a9819d6587c9702b7eccd174e62b5e8b (diff)
downloadhercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.tar.gz
hercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.tar.bz2
hercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.tar.xz
hercules-4d0d981ae30ca3b643e8727e2e5087b957e5d27a.zip
- Re-committed r16981/trunk/src/ and follow up r16988/trunk/src/ (pid:161281).
-Fix previous recommit since r16995 git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16999 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index ec818e5d3..385aaff13 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -2835,10 +2835,10 @@ void clif_updatestatus(struct map_session_data *sd,int type)
WFIFOL(fd,4)=sd->battle_status.cri/10;
break;
case SP_MATK1:
- WFIFOL(fd,4)=sd->battle_status.matk_max;
+ WFIFOL(fd,4)=pc_rightside_matk(sd);
break;
case SP_MATK2:
- WFIFOL(fd,4)=sd->battle_status.matk_min;
+ WFIFOL(fd,4)=pc_leftside_matk(sd);
break;
@@ -3169,8 +3169,8 @@ void clif_initialstatus(struct map_session_data *sd)
WBUFW(buf,16) = pc_leftside_atk(sd);
WBUFW(buf,18) = pc_rightside_atk(sd);
- WBUFW(buf,20) = sd->battle_status.matk_max;
- WBUFW(buf,22) = sd->battle_status.matk_min;
+ WBUFW(buf,20) = pc_rightside_matk(sd);
+ WBUFW(buf,22) = pc_leftside_matk(sd);
WBUFW(buf,24) = pc_leftside_def(sd);
WBUFW(buf,26) = pc_rightside_def(sd);
WBUFW(buf,28) = pc_leftside_mdef(sd);