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://svn.code.sf.net/p/rathena/svn/trunk@12962 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
shadow 2008-07-16 00:07:16 +00:00
parent 1fc5701465
commit dde58291e4
2 changed files with 6 additions and 1 deletions

View File

@ -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]

View File

@ -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;