check that stamina_reduction is defined before using it