Implemented bonus for multiple players repairing #3748

See commit description
Could you please change these to non-extension methods, for consistency with the other math functions?