Berserk Pitcher can now be used on characters that have bows equipped (fix to r4371) (bugreport:2412).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13665 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2009-04-07 19:30:25 +00:00
parent eda5e6104c
commit 82ea64929c

View File

@ -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();