diff options
author | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-15 17:39:46 +0000 |
---|---|---|
committer | Gepard <Gepard@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-05-15 17:39:46 +0000 |
commit | 7e5da9f35dec37d88a490207b54dd41853db93f9 (patch) | |
tree | f799c020cbc64757e8f749ef9df8b71debfda3d8 /src/map/clif.c | |
parent | 6af2f57a569cb3c8949ea84029e169daecf24548 (diff) | |
download | hercules-7e5da9f35dec37d88a490207b54dd41853db93f9.tar.gz hercules-7e5da9f35dec37d88a490207b54dd41853db93f9.tar.bz2 hercules-7e5da9f35dec37d88a490207b54dd41853db93f9.tar.xz hercules-7e5da9f35dec37d88a490207b54dd41853db93f9.zip |
* Merged changes from trunk [14824:14825/trunk].
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/renewal@14826 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index eeb9f7532..81ab49799 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2542,7 +2542,7 @@ int clif_updatestatus(struct map_session_data *sd,int type) case SP_UDEX: case SP_ULUK: WFIFOW(fd,0)=0xbe; - WFIFOB(fd,4)=pc_need_status_point(sd,type-SP_USTR+SP_STR); + WFIFOB(fd,4)=pc_need_status_point(sd,type-SP_USTR+SP_STR,1); len=5; break; @@ -2824,17 +2824,17 @@ int clif_initialstatus(struct map_session_data *sd) WBUFW(buf,0)=0xbd; WBUFW(buf,2)=min(sd->status.status_point, SHRT_MAX); WBUFB(buf,4)=min(sd->status.str, UCHAR_MAX); - WBUFB(buf,5)=pc_need_status_point(sd,SP_STR); + WBUFB(buf,5)=pc_need_status_point(sd,SP_STR,1); WBUFB(buf,6)=min(sd->status.agi, UCHAR_MAX); - WBUFB(buf,7)=pc_need_status_point(sd,SP_AGI); + WBUFB(buf,7)=pc_need_status_point(sd,SP_AGI,1); WBUFB(buf,8)=min(sd->status.vit, UCHAR_MAX); - WBUFB(buf,9)=pc_need_status_point(sd,SP_VIT); + WBUFB(buf,9)=pc_need_status_point(sd,SP_VIT,1); WBUFB(buf,10)=min(sd->status.int_, UCHAR_MAX); - WBUFB(buf,11)=pc_need_status_point(sd,SP_INT); + WBUFB(buf,11)=pc_need_status_point(sd,SP_INT,1); WBUFB(buf,12)=min(sd->status.dex, UCHAR_MAX); - WBUFB(buf,13)=pc_need_status_point(sd,SP_DEX); + WBUFB(buf,13)=pc_need_status_point(sd,SP_DEX,1); WBUFB(buf,14)=min(sd->status.luk, UCHAR_MAX); - WBUFB(buf,15)=pc_need_status_point(sd,SP_LUK); + WBUFB(buf,15)=pc_need_status_point(sd,SP_LUK,1); WBUFW(buf,16) = sd->battle_status.batk + sd->battle_status.rhw.atk + sd->battle_status.lhw.atk; WBUFW(buf,18) = sd->battle_status.rhw.atk2 + sd->battle_status.lhw.atk2; //atk bonus @@ -12420,17 +12420,17 @@ void clif_check(int fd, struct map_session_data* pl_sd) WFIFOHEAD(fd,packet_len(0x214)); WFIFOW(fd, 0) = 0x214; WFIFOB(fd, 2) = min(pl_sd->status.str, UCHAR_MAX); - WFIFOB(fd, 3) = pc_need_status_point(pl_sd, SP_STR); + WFIFOB(fd, 3) = pc_need_status_point(pl_sd, SP_STR, 1); WFIFOB(fd, 4) = min(pl_sd->status.agi, UCHAR_MAX); - WFIFOB(fd, 5) = pc_need_status_point(pl_sd, SP_AGI); + WFIFOB(fd, 5) = pc_need_status_point(pl_sd, SP_AGI, 1); WFIFOB(fd, 6) = min(pl_sd->status.vit, UCHAR_MAX); - WFIFOB(fd, 7) = pc_need_status_point(pl_sd, SP_VIT); + WFIFOB(fd, 7) = pc_need_status_point(pl_sd, SP_VIT, 1); WFIFOB(fd, 8) = min(pl_sd->status.int_, UCHAR_MAX); - WFIFOB(fd, 9) = pc_need_status_point(pl_sd, SP_INT); + WFIFOB(fd, 9) = pc_need_status_point(pl_sd, SP_INT, 1); WFIFOB(fd,10) = min(pl_sd->status.dex, UCHAR_MAX); - WFIFOB(fd,11) = pc_need_status_point(pl_sd, SP_DEX); + WFIFOB(fd,11) = pc_need_status_point(pl_sd, SP_DEX, 1); WFIFOB(fd,12) = min(pl_sd->status.luk, UCHAR_MAX); - WFIFOB(fd,13) = pc_need_status_point(pl_sd, SP_LUK); + WFIFOB(fd,13) = pc_need_status_point(pl_sd, SP_LUK, 1); WFIFOW(fd,14) = pl_sd->battle_status.batk+pl_sd->battle_status.rhw.atk+pl_sd->battle_status.lhw.atk; WFIFOW(fd,16) = pl_sd->battle_status.rhw.atk2+pl_sd->battle_status.lhw.atk2; WFIFOW(fd,18) = pl_sd->battle_status.matk_max; |