summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 06:13:19 +0000
committerprotimus <protimus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2011-12-20 06:13:19 +0000
commitc18b1d1cf75c9bbb2d6927c53ef291bdd867ed1f (patch)
treedae9eb8ce267bf61dff00e3b5d92fe0bbe60b178 /src/map/skill.c
parent4aea4bbffef37d1a28855ac8ba413098deaf6bce (diff)
downloadhercules-c18b1d1cf75c9bbb2d6927c53ef291bdd867ed1f.tar.gz
hercules-c18b1d1cf75c9bbb2d6927c53ef291bdd867ed1f.tar.bz2
hercules-c18b1d1cf75c9bbb2d6927c53ef291bdd867ed1f.tar.xz
hercules-c18b1d1cf75c9bbb2d6927c53ef291bdd867ed1f.zip
* Fixed invalid state running of TK_JUMPKICK (Flying Kick).
- This was causing wrong damages when use the ability with 1 cell difference of your target. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15176 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 1bb733c44..57a3686c6 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -7300,8 +7300,12 @@ int skill_castend_id(int tid, unsigned int tick, int id, intptr_t data)
break;
if (ud->state.running && ud->skillid == TK_JUMPKICK)
+ {
+ ud->state.running = 0;
+ status_change_end(src, SC_RUN, -1);
flag = 1;
-
+ }
+
if (ud->walktimer != INVALID_TIMER && ud->skillid != TK_RUN && ud->skillid != RA_WUGDASH)
unit_stop_walking(src,1);