bonusFor

public double bonusFor(Player attacker, LivingEntity target, int level)

The additive bonus fraction for this attack (e.g. 0.25 for +25% damage).