summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-01-28 18:42:25 -0200
committershennetsind <ind@henn.et>2013-01-28 18:42:25 -0200
commitcba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b (patch)
tree2416bbe65b1bc89542aa0691344670c97505b37e /src/map/status.c
parent9f75e121fd20aaa20e337c8664ba9a57fe90fe21 (diff)
downloadhercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.tar.gz
hercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.tar.bz2
hercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.tar.xz
hercules-cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b.zip
New skill config
After due consideration we thought it'd be in the best interest of the community to provide a switch to this official feature since it drastically change the way traps can be used Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 8167e9949..0379d05d2 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -8646,6 +8646,10 @@ int status_change_start(struct block_list* bl,enum sc_type type,int rate,int val
case SC_PARALYSIS:
unit_stop_walking(bl,1);
break;
+ case SC_ANKLE:
+ if( battle_config.skill_trap_type )
+ unit_stop_walking(bl,1);
+ break;
case SC_HIDING:
case SC_CLOAKING:
case SC_CLOAKINGEXCEED: