diff options
author | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-01 01:17:46 +0000 |
---|---|---|
committer | shennetsind <shennetsind@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-08-01 01:17:46 +0000 |
commit | ecfd02c5e01fbf567d4b1694daafe0281418c6f1 (patch) | |
tree | a78d3e087b6439c9276349f65e94e2df880764b0 /src/map/skill.c | |
parent | 181aa8fe1ab62d5eb89b8c4478a48afa28b6c311 (diff) | |
download | hercules-ecfd02c5e01fbf567d4b1694daafe0281418c6f1.tar.gz hercules-ecfd02c5e01fbf567d4b1694daafe0281418c6f1.tar.bz2 hercules-ecfd02c5e01fbf567d4b1694daafe0281418c6f1.tar.xz hercules-ecfd02c5e01fbf567d4b1694daafe0281418c6f1.zip |
Fixed bugreport:6380 Snap/Body Relocation animation, super ultra special thanks to emong.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16541 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 0b2d91287..966910c33 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9543,14 +9543,17 @@ int skill_castend_pos2(struct block_list* src, int x, int y, int skillid, int sk case MO_BODYRELOCATION: if (unit_movepos(src, x, y, 1, 1)) { +#if PACKETVER >= 20111005 + clif_snap(src, src->x, src->y); +#else clif_skill_poseffect(src,skillid,skilllv,src->x,src->y,tick); -// clif_slide(src, src->x, src->y); //Poseffect is the one that makes the char snap on the client... - if (sd) skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000); +#endif + if (sd) + skill_blockpc_start (sd, MO_EXTREMITYFIST, 2000); } break; case NJ_SHADOWJUMP: - if( !map_flag_gvg(src->m) && !map[src->m].flag.battleground ) - { //You don't move on GVG grounds. + if( !map_flag_gvg(src->m) && !map[src->m].flag.battleground ) { //You don't move on GVG grounds. unit_movepos(src, x, y, 1, 0); clif_slide(src,x,y); } |