Quellcode durchsuchen

- Added back missing state set to prevent Ankle-Snare from being retrieved after the target dies.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8194 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex vor 19 Jahren
Ursprung
Commit
895eacb80a
2 geänderte Dateien mit 3 neuen und 0 gelöschten Zeilen
  1. 2 0
      Changelog-Trunk.txt
  2. 1 0
      src/map/skill.c

+ 2 - 0
Changelog-Trunk.txt

@@ -4,6 +4,8 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2006/08/08
+	* Added back missing state set to prevent Ankle-Snare from being retrieved
+	  after the target dies. [Skotlex]
 	* Fixed compilation warning [Toms]
 	* Added a check to handle Spider Web as a targetted skill. If there's more
 	  than one character on the targetted cell, a different one may get trapped,

+ 1 - 0
src/map/skill.c

@@ -7100,6 +7100,7 @@ int skill_unit_onplace_timer (struct skill_unit *src, struct block_list *bl, uns
 				sg->limit = DIFF_TICK(tick,sg->tick)+sec;
 				sg->interval = -1;
 				src->range = 0;
+				sg->state.into_abyss = 1; //Prevent Remove Trap from giving you the trap back. [Skotlex]
 			}
 			break;