From cba3bef47e8758ab1db43bd5ee3b6fcc5f9a498b Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 28 Jan 2013 18:42:25 -0200 Subject: 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 --- src/map/status.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/status.c') 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: -- cgit v1.2.3-70-g09d2