diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-26 18:26:51 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-06-26 18:26:51 +0000 |
commit | 3396bad1320df4d59a0806a41fafaf99d7b4c9d6 (patch) | |
tree | 861c7ecf114a1491de5c60dd23796630907a2b2c /src/map/clif.c | |
parent | bab077c56d3f89cc65bb0b00e10046ae8bdaa83a (diff) | |
download | hercules-3396bad1320df4d59a0806a41fafaf99d7b4c9d6.tar.gz hercules-3396bad1320df4d59a0806a41fafaf99d7b4c9d6.tar.bz2 hercules-3396bad1320df4d59a0806a41fafaf99d7b4c9d6.tar.xz hercules-3396bad1320df4d59a0806a41fafaf99d7b4c9d6.zip |
- Corrected unit id of desperado and Ground Drift using jA's info.
- Rough implementation of Ground Drift according to description and jA info.
- Implemented Tatami Gaeshi using skill description and jA implementation for reference.
- map_foreachinpath calls will no longer go beyond the target point, as this function is required for skills other than SharpShooting now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7344 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index e24b3f7a1..e25b89a8f 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2885,21 +2885,12 @@ void clif_refreshlook(struct block_list *bl,int id,int type,int val,int area) WBUFB(buf,7)=val;
clif_send(buf,packet_len_table[0xc3],bl,area);
#else
- if(type == LOOK_BASE && val > 255)
- {
- WBUFW(buf,0)=0x1d7;
- WBUFL(buf,2)=id;
- WBUFB(buf,6)=type;
- WBUFW(buf,7)=val;
- WBUFW(buf,9)=0;
- clif_send(buf,packet_len_table[0x1d7],bl,area);
- } else {
- WBUFW(buf,0)=0xc3;
- WBUFL(buf,2)=id;
- WBUFB(buf,6)=type;
- WBUFB(buf,7)=val;
- clif_send(buf,packet_len_table[0xc3],bl,area);
- }
+ WBUFW(buf,0)=0x1d7;
+ WBUFL(buf,2)=id;
+ WBUFB(buf,6)=type;
+ WBUFW(buf,7)=val;
+ WBUFW(buf,9)=0;
+ clif_send(buf,packet_len_table[0x1d7],bl,area);
#endif
return;
}
|