summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-16 00:07:16 +0000
committershadow <shadow@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-16 00:07:16 +0000
commit9c2f6c141486530c03ceb01261bd975a95a7f9b8 (patch)
treeddaf3a3313c2be200052f80d17859e85e6281717
parente450622d0c6568516c6ee9b1951451a0f9e71ca0 (diff)
downloadhercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.tar.gz
hercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.tar.bz2
hercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.tar.xz
hercules-9c2f6c141486530c03ceb01261bd975a95a7f9b8.zip
Fixed TK_JUMPKICK, should not jump over objects and cliffs.
- This also might fix them being able to jump barricades on WoESE. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12962 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt5
-rw-r--r--src/map/skill.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 13c95b263..3e0ba52eb 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,11 +3,16 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2008/07/16
+ * Fixed TK_JUMPKICK, should not jump over objects and cliffs.
+ - This also might fix them being able to jump barricades on WoESE. [Brainstorm]
+
2008/07/15
* Updated WoE Time Explanation for Sunday. [Paradox924X]
* Corrected wrong data loading order in txt storage code [ultramage]
* Fixed pop_timer_heap using max heap comparisons instead of min heap comparisons
and protected timer functions against improper use. (should fix bugreport:1833 bugreport:1841) [FlavioJS]
+
2008/07/14
* Made homunculi have doubled regen rates (they regen twice as fast) defined on battle configs. [Brainstorm]
* Corrected compiler warning and error made from r12952 and r12953, respectively. [SketchyPhoenix]
diff --git a/src/map/skill.c b/src/map/skill.c
index 3777078e6..cf81ad720 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2379,7 +2379,7 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl, int
case TK_JUMPKICK:
skill_attack(BF_WEAPON,src,src,bl,skillid,skilllv,tick,flag);
- if (unit_movepos(src, bl->x, bl->y, 0, 0))
+ if (unit_movepos(src, bl->x, bl->y, 1, 1)) //Should not jump over objects and cliffs
clif_slide(src,bl->x,bl->y);
break;