Input-driven initiative calculation - first working version