Lucky feat 5e dndbeyond. 5 tries to address this problem in a flawed way.