diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-04-07 19:30:25 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2009-04-07 19:30:25 +0000 |
commit | c195103d9d31e2a00f638194461b6dca7bca0478 (patch) | |
tree | b766beefe35299245e50f6f7da690ce64d489c8e /src/map/skill.c | |
parent | f270d48e238e2895b2a85e1ec1b6ffb8a801684d (diff) | |
download | hercules-c195103d9d31e2a00f638194461b6dca7bca0478.tar.gz hercules-c195103d9d31e2a00f638194461b6dca7bca0478.tar.bz2 hercules-c195103d9d31e2a00f638194461b6dca7bca0478.tar.xz hercules-c195103d9d31e2a00f638194461b6dca7bca0478.zip |
Berserk Pitcher can now be used on characters that have bows equipped (fix to r4371) (bugreport:2412).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13665 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index f82495350..b56e67568 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4379,8 +4379,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in return 1; } if( skillid == AM_BERSERKPITCHER ) - { //Does not override use-level, and cannot be used on bows. - if( dstsd && (dstsd->status.base_level<(unsigned int)sd->inventory_data[i]->elv || dstsd->weapontype1 == W_BOW) ) + { + if( dstsd && dstsd->status.base_level < (unsigned int)sd->inventory_data[i]->elv ) { clif_skill_fail(sd,skillid,0,0); map_freeblock_unlock(); |