summaryrefslogtreecommitdiff
path: root/src/map/unit.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-02 03:59:59 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-02 03:59:59 +0000
commitc8f8a541c9ab0b9152d08e7dc8193100a63b4381 (patch)
tree09313869327c83b957343fd73b8c1bb5023dd339 /src/map/unit.c
parent34a0a33b55454561c73188a7c2fade46288d8341 (diff)
downloadhercules-c8f8a541c9ab0b9152d08e7dc8193100a63b4381.tar.gz
hercules-c8f8a541c9ab0b9152d08e7dc8193100a63b4381.tar.bz2
hercules-c8f8a541c9ab0b9152d08e7dc8193100a63b4381.tar.xz
hercules-c8f8a541c9ab0b9152d08e7dc8193100a63b4381.zip
- 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
Diffstat (limited to 'src/map/unit.c')
-rw-r--r--src/map/unit.c2
1 files changed, 2 insertions, 0 deletions
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);