*setcurrentactionpoints: math.min