summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 21:33:28 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-08 21:33:28 +0000
commit780c68710e643b16c3751793d89433264152f21f (patch)
tree2d5893f61acb2b769c06a9fb4380eeb084b904ef
parent0c6767b4c8cf0019d2df26598ce40ed303c63b20 (diff)
downloadhercules-780c68710e643b16c3751793d89433264152f21f.tar.gz
hercules-780c68710e643b16c3751793d89433264152f21f.tar.bz2
hercules-780c68710e643b16c3751793d89433264152f21f.tar.xz
hercules-780c68710e643b16c3751793d89433264152f21f.zip
- Added back missing state set to prevent Ankle-Snare from being retrieved after the target dies.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8194 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/skill.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 251f066a6..0cf66568d 100644
--- a/Changelog-Trunk.txt
+++ b/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,
diff --git a/src/map/skill.c b/src/map/skill.c
index 41471ade3..e2239d84f 100644
--- a/src/map/skill.c
+++ b/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;