Fix to weapon secondary damage (#579)
This commit is contained in:
@@ -421,7 +421,7 @@ void Player::CalculateMinMaxDamage(WeaponAttackType attType, bool normalized, fl
|
||||
weapon_mindamage = BASE_MINDAMAGE;
|
||||
weapon_maxdamage = BASE_MAXDAMAGE;
|
||||
}
|
||||
else if (attType == RANGED_ATTACK) // add ammo DPS to ranged damage
|
||||
else if (attType == RANGED_ATTACK && index == 0) // add ammo DPS to ranged damage
|
||||
{
|
||||
weapon_mindamage += GetAmmoDPS() * att_speed;
|
||||
weapon_maxdamage += GetAmmoDPS() * att_speed;
|
||||
|
||||
Reference in New Issue
Block a user