Replace the PassedDanger array by an equation