diff options
author | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-06 07:39:10 +0000 |
---|---|---|
committer | celest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-06 07:39:10 +0000 |
commit | 759691f121b3af537b04a10267bada2aa8655e9c (patch) | |
tree | 05fac1e0e1854b8d084525cc72bc46863b84f9fb /src/map/battle.c | |
parent | 7572f8b6cc524460a49049d166fcb2e37e4f448f (diff) | |
download | hercules-759691f121b3af537b04a10267bada2aa8655e9c.tar.gz hercules-759691f121b3af537b04a10267bada2aa8655e9c.tar.bz2 hercules-759691f121b3af537b04a10267bada2aa8655e9c.tar.xz hercules-759691f121b3af537b04a10267bada2aa8655e9c.zip |
* Updated Chase Walk
* Added 'checkoption2' and 'checkoption3' script functions
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@472 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index a66ddb870..973878529 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -4962,13 +4962,14 @@ int battle_check_range(struct block_list *src,struct block_list *bl,int range) if( range>0 && range < arange ) {// 遠すぎる // be lenient if the skill was cast before we have moved to the correct position [Celest] - if (src->type == BL_PC && bl->type == BL_PC) { + /* Celest: Hmm, bl isn't necessarily BL_PC... i think i'll test this more first >.< */ + /*if (src->type == BL_PC && bl->type == BL_PC) { struct map_session_data *sd; nullpo_retr(0, (sd=(struct map_session_data *)bl)); if (sd->walktimer != -1 && !((arange-=battle_config.skill_range_leniency)<=range)) return 0; } - else return 0; + else*/ return 0; } if( arange<2 ) // 同じマスか隣接 |