Parcourir la source

Ankle Snare cannot be knocked back anymore (bugreport:2804).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13554 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage il y a 16 ans
Parent
commit
4a7bc5ad07
2 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 2 0
      Changelog-Trunk.txt
  2. 2 0
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -3,6 +3,8 @@ 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.
 
+2009/03/01
+	* Ankle Snare cannot be knocked back anymore (bugreport:2804) [ultramage]
 2009/02/25
 	* Wrong variable being used in StringBuf_Vprintf. (follow up to r13386, fixes bugreport:2798) [FlavioJS]
 2009/02/23

+ 2 - 0
src/map/skill.c

@@ -1306,6 +1306,8 @@ int skill_blown(struct block_list* src, struct block_list* target, int count, in
 			break;
 		case BL_SKILL:
 			su = (struct skill_unit *)target;
+			if( su->group->unit_id == UNT_ANKLESNARE )
+				return 0; // ankle snare cannot be knocked back
 			break;
 	}