summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 20:18:40 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 20:18:40 +0000
commit1b8b555e1fcc83cd20ef32c39d767cfaf458bef6 (patch)
treed207bcb3b870088ef8309ed6596479f869d06497 /src/map/status.c
parent045c123351a3ed8596799d57ae79165e76ed771a (diff)
downloadhercules-1b8b555e1fcc83cd20ef32c39d767cfaf458bef6.tar.gz
hercules-1b8b555e1fcc83cd20ef32c39d767cfaf458bef6.tar.bz2
hercules-1b8b555e1fcc83cd20ef32c39d767cfaf458bef6.tar.xz
hercules-1b8b555e1fcc83cd20ef32c39d767cfaf458bef6.zip
- Increased the range for unlocking out of Close confine.
- Reverted some changes in cbasetypes.h which actually broke compilation. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5566 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index e85bb0ebf..d360abdab 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4948,7 +4948,9 @@ int status_change_end( struct block_list* bl , int type,int tid )
break;
case SC_CLOSECONFINE:
if (sc->data[type].val2 > 0) { //Caster has been unlocked... nearby chars need to be unlocked.
- int range = 2*skill_get_range2(bl, StatusSkillChangeTable[type], sc->data[type].val1);
+ int range = 1
+ +skill_get_range2(bl, StatusSkillChangeTable[type], sc->data[type].val1)
+ +skill_get_range2(bl, TF_BACKSLIDING, 1); //Since most people use this to escape the hold....
map_foreachinarea(status_change_timer_sub,
bl->m, bl->x-range, bl->y-range, bl->x+range,bl->y+range,BL_CHAR,bl,sc,type,gettick());
}