summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-03 15:57:28 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-03-03 15:57:28 +0000
commitb87129549e052974ef07d5fafd04118465e44658 (patch)
tree58c3ce4558f5e2124203e9c0aaba69382d5071eb /src
parent9606310c0fd523f9de934760efb913ac66d4153f (diff)
downloadhercules-b87129549e052974ef07d5fafd04118465e44658.tar.gz
hercules-b87129549e052974ef07d5fafd04118465e44658.tar.bz2
hercules-b87129549e052974ef07d5fafd04118465e44658.tar.xz
hercules-b87129549e052974ef07d5fafd04118465e44658.zip
Removed the Blade Stop range check against players.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13562 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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 40f4ea4cd..6485a53e7 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) && distance_bl(src, target) <= (tsd->status.weapon == W_FIST ? 1 : 2) )
+ if( tsc && tsc->data[SC_BLADESTOP_WAIT] && !is_boss(src) && (src->type == BL_PC || 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);