summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 18:03:18 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-20 18:03:18 +0000
commite6183e5b3d7461425ef5f529c3d757952b659652 (patch)
treec9ea8f36271d638488a28bc6b9388dfaedbe1987 /src/map/clif.c
parent73b3407374e2a7226b2f1ec7c6e9b127e65b6735 (diff)
downloadhercules-e6183e5b3d7461425ef5f529c3d757952b659652.tar.gz
hercules-e6183e5b3d7461425ef5f529c3d757952b659652.tar.bz2
hercules-e6183e5b3d7461425ef5f529c3d757952b659652.tar.xz
hercules-e6183e5b3d7461425ef5f529c3d757952b659652.zip
- Added a skill_unit_db entry for NJ_HYOUSYOURAKU, thanks to Eus for the data.
- Added the dummy intravision case for the changeoption packet 0x229 - Corrected Fog of Wall so that all targetted offensive skills (not only those who do damage) will fail on cast-end 75% of the time. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7773 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 2d925bfdc..9e29301d8 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -342,17 +342,20 @@ int clif_send_sub(struct block_list *bl, va_list ap)
{ //option̏C
switch(((unsigned short*)buf)[0])
{
- case 0x119:
- WFIFOW(sd->fd,10) &= ~(OPTION_HIDE|OPTION_CLOAK);
- break;
#if PACKETVER > 6
- case 0x22c:
- case 0x22b:
+ case 0x229:
+ WFIFOL(sd->fd,10) &= ~(OPTION_HIDE|OPTION_CLOAK);
+ break;
case 0x22a:
+ case 0x22b:
+ case 0x22c:
WFIFOL(sd->fd,12) &=~(OPTION_HIDE|OPTION_CLOAK);
break;
#endif
#if PACKETVER > 3
+ case 0x119:
+ WFIFOW(sd->fd,10) &= ~(OPTION_HIDE|OPTION_CLOAK);
+ break;
case 0x1d8:
case 0x1d9:
case 0x1da: