diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-24 14:21:09 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-05-24 14:21:09 +0000 |
commit | 86566b76415cda705383b504c54cecc3c4fa3139 (patch) | |
tree | cd34c226d5f89ef552b85670f932573b5a42cc6d /src/map/clif.c | |
parent | 5ac133e3b8736d62e57efc3dd42e3db6816605ad (diff) | |
download | hercules-86566b76415cda705383b504c54cecc3c4fa3139.tar.gz hercules-86566b76415cda705383b504c54cecc3c4fa3139.tar.bz2 hercules-86566b76415cda705383b504c54cecc3c4fa3139.tar.xz hercules-86566b76415cda705383b504c54cecc3c4fa3139.zip |
Fixed RA_CAMOUFLAGE where the animation(semi transparent effect) is not seen when sight is refreshed.
Fixed RA_CLUSTERBOMB now it has 1s delay to disappear when activated and does full damage in plants.
Fixed Burning status fixed damage (1000+3% of MaxHP) and damage effect and walk delay
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16143 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index af64f74b5..d626c94b1 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -4047,6 +4047,8 @@ void clif_getareachar_unit(struct map_session_data* sd,struct block_list *bl) clif_specialeffect_single(bl,421,sd->fd); if( tsd->bg_id && map[tsd->bl.m].flag.battleground ) clif_sendbgemblem_single(sd->fd,tsd); + if( tsd->sc.data[SC_CAMOUFLAGE] ) + clif_status_load(bl,SI_CAMOUFLAGE,1); } break; case BL_MER: // Devotion Effects @@ -4130,6 +4132,7 @@ int clif_damage(struct block_list* src, struct block_list* dst, unsigned int tic { unsigned char buf[33]; struct status_change *sc; + int dir=0; #if PACKETVER < 20071113 const int cmd = 0x8a; #else @@ -4148,6 +4151,8 @@ int clif_damage(struct block_list* src, struct block_list* dst, unsigned int tic } } + dir = unit_getdir(src); + WBUFW(buf,0)=cmd; WBUFL(buf,2)=src->id; WBUFL(buf,6)=dst->id; @@ -4195,6 +4200,9 @@ int clif_damage(struct block_list* src, struct block_list* dst, unsigned int tic #endif clif_send(buf,packet_len(cmd),src,SELF); } + + if(src == dst) + unit_setdir(src,dir); //Return adjusted can't walk delay for further processing. return clif_calc_walkdelay(dst,ddelay,type,damage+damage2,div); } |