Ver código fonte

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

shadow 17 anos atrás
pai
commit
dde58291e4
2 arquivos alterados com 6 adições e 1 exclusões
  1. 5 0
      Changelog-Trunk.txt
  2. 1 1
      src/map/skill.c

+ 5 - 0
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]

+ 1 - 1
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;