int32_t WeaponDistance::getWeaponDamage(const Player* player, const Creature* target, const Item* item, bool maxDamage /*= false*/) const
{
int32_t attackValue = ammuAttackValue;
if(item->getWeaponType() == WEAPON_AMMO){
Item* bow = const_cast<Player*>(player)->getWeapon(true);
if(bow){
attackValue += bow->getAttack();
}
}