Change avoidanceChanceRate to avoidanceChance