summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-02 18:11:49 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-02 18:11:49 +0000
commit9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf (patch)
tree9215876ed86dff56a07852243487ee570aac1be5 /src/map/battle.c
parent5d75265b8cd2295dbd0b815288bd88ec0da69d8d (diff)
downloadhercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.tar.gz
hercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.tar.bz2
hercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.tar.xz
hercules-9fcbe9d352a8cc9a0f602d06149c11ff57c48bbf.zip
Blade Stop status no longer prevents item use and equip changing.
Blade Stop skill will now only activate if the attacker is at most 2 cells away (1 if barehanded). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13557 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index c430cf5e4..40f4ea4cd 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -2980,7 +2980,7 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t
}
}
- if( tsc && tsc->data[SC_BLADESTOP_WAIT] && !is_boss(src) )
+ if( tsc && tsc->data[SC_BLADESTOP_WAIT] && !is_boss(src) && distance_bl(src, target) <= (tsd->status.weapon == W_FIST ? 1 : 2) )
{
int skilllv = tsc->data[SC_BLADESTOP_WAIT]->val1;
int duration = skill_get_time2(MO_BLADESTOP,skilllv);