From c8f8a541c9ab0b9152d08e7dc8193100a63b4381 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 2 May 2006 03:59:59 +0000 Subject: - Fixed Jump Kick's range to 9. - Allowed SG_FEEL memorizing the same map for all three. - SC_FUSION won't end when you die now. - Added knockback when you run into a wall during running. However position is not being refreshed on the client yet... git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6443 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/unit.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map/unit.c') diff --git a/src/map/unit.c b/src/map/unit.c index 84d964fe9..227e2bd43 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -364,7 +364,9 @@ int unit_run(struct block_list *bl) } if(to_x == bl->x && to_y == bl->y) { + //If you can't run forward, you must be next to a wall, so bounce back. [Skotlex] status_change_end(bl,SC_RUN,-1); + skill_blown(bl,bl,skill_get_blewcount(TK_RUN,sc->data[SC_RUN].val1)|0x10000); return 0; } unit_walktoxy(bl, to_x, to_y, 1); -- cgit v1.2.3-70-g09d2